Skip to content
Snippets Groups Projects
Unverified Commit b9300a8d authored by Tobi-Alonso's avatar Tobi-Alonso Committed by GitHub
Browse files

Set vivado DWC input width explicitly as by default a block will have a 1 byte...

Set vivado DWC input width explicitly as by default a block will have a 1 byte input which probably will cause a bottleneck (#254)
parent 4e7f3fba
No related branches found
No related tags found
No related merge requests found
......@@ -408,9 +408,14 @@ class StreamingDataWidthConverter_Batch(HLSCustomOp):
)
cmd.append(
"set_property -dict "
"[list CONFIG.S_TDATA_NUM_BYTES.VALUE_SRC PROPAGATED] "
"[list CONFIG.S_TDATA_NUM_BYTES.VALUE_SRC USER] "
"[get_bd_cells /%s/dwc]" % node_name
)
cmd.append(
"set_property -dict "
"[list CONFIG.S_TDATA_NUM_BYTES {%d}] [get_bd_cells /%s/dwc]"
% (np.ceil(self.get_instream_width() / 8), node_name)
)
cmd.append(
"set_property -dict "
"[list CONFIG.M_TDATA_NUM_BYTES {%d}] [get_bd_cells /%s/dwc]"
......
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