Skip to content
Snippets Groups Projects
Commit f45b2cb6 authored by Lucian Petrica's avatar Lucian Petrica
Browse files

Fixed numInWords for DWC

parent 5e50f644
No related branches found
No related tags found
No related merge requests found
......@@ -217,8 +217,6 @@ class StreamingDataWidthConverter_Batch(HLSCustomOp):
numInWords = int(np.prod(self.get_folded_input_shape()[:-1]))
inWidth = self.get_nodeattr("inWidth")
outWidth = self.get_nodeattr("outWidth")
if outWidth > inWidth:
numInWords = int(outWidth // inWidth)
self.code_gen_dict["$DEFINES$"] = [
"#define InWidth %d " % inWidth,
"#define OutWidth %d " % outWidth,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment