[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [oc] Signed - unsigned problems
on 8/6/01 19:21, Igor Mohor (uni-mb) at igor.mohor@uni-mb.si wrote:
> 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?
Use an OVI compliant Verilog compiler such as Cadance Verilog-XL or NC-Sim.
> Regards,
> Igor
Cheers !
-- 
rudi
--
To unsubscribe from cores mailing list please visit http://www.opencores.org/mailinglists.shtml