Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,359 Views

altera quartus support for real data

How to solve this error while compiling in altera quartus II 

 

Error (10172): Verilog HDL unsupported feature error : real variable data type values are not supported 

 

Thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
279 Views

Convert your data to (scaled) integer, or design your own floating point data processing blocks.

Altera_Forum
Honored Contributor I
279 Views

You cannot use real data type, because it has no meaning for hardware.  

Altera provides floating point IP blocks, but your variables carrying them must be reg data type. 

 

You can get the user guide here: 

https://www.altera.com/en_us/pdfs/literature/ug/ug_altfp_mfug.pdf
Reply