Re: [myhdl-list] missing declaration of input?
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2009-03-27 15:58:41
|
Neal Becker wrote: > I found that I had to edit the verilog output, adding a signed declaration. > Ideas? If the ranges of x are defined like you did: x = Signal (intbv(0)[37:0]) it is always going to be "unsigned" (as in Verilog). If you want it "signed", you have to use min and max for x also. Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Python as an HDL: http://www.myhdl.org VHDL development, the modern way: http://www.sigasi.com Analog design automation: http://www.mephisto-da.com World-class digital design: http://www.easics.com |