Skip to content

Commit

Permalink
Ensuring that Q_srl RTL style FIFOs never have a depth of 1 when spli…
Browse files Browse the repository at this point in the history
…tting fifos in the set_fifo_depths transformation as it is unsupported and leads to backpressure issues.
  • Loading branch information
STFleming committed Feb 26, 2025
1 parent 9d7989b commit 2b55849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/finn/transformation/fpgadataflow/set_fifo_depths.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def decompose_pow2(x):
ret_final = []
for cand_depth in ret_pass2:
if cand_depth <= max_qsrl_depth:
ret_final.append((cand_depth, "rtl"))
ret_final.append((max(2,cand_depth), "rtl"))
else:
ret_final.append((cand_depth, "vivado"))

Expand Down

0 comments on commit 2b55849

Please sign in to comment.