>>> 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.
consider to introduce these kind of relax options to GHDL?

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

Reply via email to