Forum Discussion
Altera_Forum
Honored Contributor
8 years agoYou 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