And it could be also nice to be able to define our own fixed/floating point types. Ok there is now the new IEEE package that create a fixed and a floating point type, but it isn't real fixed/floating point types but, as it is for IEEE signed/unsigned, they are representing array of characters in which we add arithmetic operations, which is not as natural as using real numbers.

Le 27. 07. 16 à 09:29, Patrick Lehmann a écrit :
you can define own integers in VHDL:

type myint is range -12 to 32234324;


_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to