Skip to content
Snippets Groups Projects
Unverified Commit 0fc686e9 authored by Felix Jentzsch's avatar Felix Jentzsch Committed by GitHub
Browse files

Fix IODMA interface width selection (#287)

parent d27af783
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ class InsertIODMA(Transformation):
padded_instream_width = first_node_inst.get_instream_width_padded()
padded_instream_bytes = padded_instream_width // 8
# determine the feasible interface width
transfer_bits = padded_instream_width * np.prod(out_folded_shape[:-1])
transfer_bits = padded_instream_width * np.prod(in_folded_shape[:-1])
intfwidth = math.gcd(transfer_bits, self.max_intfwidth)
assert (
intfwidth % 8 == 0
......
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