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
Even though Python supports arbitrary-size integers, most Verilog simulators do not. As a result, there can be subtle bugs where integer constants overflow within the simulator, before they are even assigned. This problem could be solved by using an explicit width when formatting large constants (possibly switching to hex as well). Care would need to be taken to make sure the generated Verilog is still fairly readable.
The text was updated successfully, but these errors were encountered:
Even though Python supports arbitrary-size integers, most Verilog simulators do not. As a result, there can be subtle bugs where integer constants overflow within the simulator, before they are even assigned. This problem could be solved by using an explicit width when formatting large constants (possibly switching to hex as well). Care would need to be taken to make sure the generated Verilog is still fairly readable.
The text was updated successfully, but these errors were encountered: