Integer to real conversion function

Is there a general conversion function to convert an integer type object to a real type in VHDL? This is for a test site, so synthesizability is not a problem.

+6
source share
1 answer

You can convert an integer to real as follows:

signal i: integer; signal R: Real; ... R <= Real(i); 
+7
source

Source: https://habr.com/ru/post/914710/


All Articles