[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ethmac] Signed - unsigned problems



Hi, guys and girls,

Looks like compilers by default understand 32-bit numbers differently.

Here is a description of such a problem:

I'm having problems with 32 bit numbers; My compiler seems to be assuming 
that code like:
    Crc <= #1 32'hffffffff; (in crc.v)
refers to a SIGNED number and so won't accept a hex string larger than 
7FFFFFFF - I assume that your code treats the register(?) unsigned.

any ideas how to get round this one?



Regards,
	Igor
--
To unsubscribe from ethmac mailing list please visit http://www.opencores.org/mailinglists.shtml