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
The underlying cause is that RTLIL never supported signed shifts, but erroneously did not reject them in the validator. After YosysHQ/yosys#1551 got merged, our generated RTLIL became invalid.
There are two possible fixes here:
Transparently translate signed shifts into a mux fed by a left shift and a right shift cell;
Honestly, I'd say that shifts by negative numbers definitely point to a bug. Really, you could get the equivalent of option 1 with a rotate operation, which I think would be clearer in semantics.
Saturday Jan 11, 2020 at 17:13 GMT
Originally opened as m-labs/nmigen#302
produces
The text was updated successfully, but these errors were encountered: