3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-31 00:13:18 +00:00

Change synth_xilinx's -nomux to -minmuxf <int>

This commit is contained in:
Eddie Hung 2019-06-24 10:04:01 -07:00
parent d54dceb547
commit 36e6da5396
3 changed files with 82 additions and 54 deletions

View file

@ -54,7 +54,7 @@ module \$shiftx (A, B, Y);
wire _TECHMAP_FAIL_ = 1;
end
else begin
if (B_WIDTH < 3 || A_WIDTH <= 4)
if (((A_WIDTH + Y_WIDTH - 1) / Y_WIDTH) < `MIN_MUX_INPUTS)
wire _TECHMAP_FAIL_ = 1;
else
\$__XILINX_SHIFTX #(