Pyverilog icon indicating copy to clipboard operation
Pyverilog copied to clipboard

"parameter real" is not supported

Open sbourdeauducq opened this issue 6 years ago • 2 comments

Verilog lines such as

parameter    real GTHE3_CHANNEL_RX_PROGDIV_CFG = 0.0,

cause a parse error but should not. Removing "real" works around the problem.

sbourdeauducq avatar Jan 13 '19 15:01 sbourdeauducq

Did you mean to terminate with a "," instead of a ";", or is that just a copy-paste error, or perhaps the bug is that removing "real" doesn't detect the "," character?

clothbot avatar Jan 13 '19 17:01 clothbot

also, assigned of real is not supported:

Does not work: real dutycycle = 50;

Works: real dutycycle; assign dutycule = 50;

monibahmed avatar Apr 02 '19 18:04 monibahmed