diff --git a/src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py b/src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py index 64758d0f03585f14437b4231e338b5d7da4d2c66..04851962972d24636eab27d8d4a80fc02d03ea17 100644 --- a/src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py +++ b/src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py @@ -1016,10 +1016,10 @@ class StreamingFCLayer_Batch(HLSCustomOp): if var == "ipgen": SIMD = self.get_nodeattr("SIMD") MW = self.get_nodeattr("MW") - condition = SIMD > (MW / 1024) + condition = SIMD >= (MW / 1024) msg = ( f"HLS synthesis of StreamingFCLayer_Batch requires: " - f"SIMD > MW / 1024. This is not fulfilled with: SIMD={SIMD} " + f"SIMD >= MW / 1024. This is not fulfilled with: SIMD={SIMD} " f"and MW={MW} for node: {self.onnx_node.name}." ) assert condition, msg