Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHow to use floating-point number in verilog code?
Hi, I would like to ask anyone here can please teach me how to use floating-point number in verilog code? For example, I got a formula, y=100*p^(1000/5255); if I enter p=100000, I wa...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Is it possible to do that in verilog? --- Quote End --- It's possible to calculate real expressions at compile time, e.g. for constants, but the code isn't synthesizable.