You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like #5403 causes problems on designs that should work.
Sample inputs:
circuitWidths:
moduleWidths:
inputy : UInt<2>outputout1 : UIntwirew : UInt
w <= UInt(0)
w <= y
out1 <= w
->
widths-2.fir:6:5: error: uninferred width: wire "w" cannot satisfy all width requirements
wire w : UInt
^
widths-2.fir:8:7: note: width is constrained to be at least 2 here:
w <= y
^
widths-2.fir:8:7: note: width is constrained to be at most 1 here:
circuitWidths:
moduleWidths:
inputx : UInt<1>inputy : UInt<2>outputout1 : UIntwirew : UInt
w <= x
w <= y
out1 <= w
->
widths-3.fir:7:5: error: uninferred width: wire "w" cannot satisfy all width requirements
wire w : UInt
^
widths-3.fir:9:7: note: width is constrained to be at least 2 here:
w <= y
^
widths-3.fir:9:7: note: width is constrained to be at most 1 here:
The text was updated successfully, but these errors were encountered:
h/t @uenoku
Looks like #5403 causes problems on designs that should work.
Sample inputs:
->
->
The text was updated successfully, but these errors were encountered: