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.
6e29fbc breaks integer parameters greater than 2**32 -1
With Yosys HEAD, a large integer parameter results in the error nmigen.back.verilog.YosysError: ERROR: Parser error in line 247: syntax error, with older Yosys, the parameter is silently clipped to 2**32-1.
I'm not sure what the best way to handle this is. It could be as simple as converting large integer parameters to ast.Const parameters. Even an assert to catch this early may be an option.
The text was updated successfully, but these errors were encountered:
So it's discarding the sign bit! And not only that but you can't even specify any values between 2**31 and 2**32-1 inclusive, even though you ought to be able to.
6e29fbc breaks integer parameters greater than
2**32 -1
With Yosys HEAD, a large integer parameter results in the error
nmigen.back.verilog.YosysError: ERROR: Parser error in line 247: syntax error
, with older Yosys, the parameter is silently clipped to2**32-1
.I'm not sure what the best way to handle this is. It could be as simple as converting large integer parameters to ast.Const parameters. Even an assert to catch this early may be an option.
The text was updated successfully, but these errors were encountered: