On 25/11/15 12:00, KIMURA Masaru wrote:
I write some VHPI interface for a 32 bit engine. Some functions works an
some not. Now I have found out my problem with this two examples.
I need to exchange value c to vhdl and reverse.


I have the range of 32 bit.
My range is 0x00000000 to 0xFFFFFFFF

0...2^32-1


Then you'd need unsigned integers.  Does VHDL have those?


No, VHDL integer types are always signed.

FYI, and you may know, but i've not tested actually,
some closed source VHDL simulators (such as Aldec Riviera-PRO) have relax
options (e.g. integer range), IIRC.

Never heard about that.  Any pointer or detail about this feature
would be useful.

Tristan.


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

Reply via email to