Re: [myhdl-list] Bug in generated code?
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2013-02-24 21:00:27
|
On 01/17/2013 11:23 PM, Thomas Heller wrote: > Am 17.01.2013 17:26, schrieb Tom Dillon: >> Hi, >> >> This is interesting but I don't think it would be a bug. I am not sure >> the MyHDL specs call for automatic size conversions. > > I'd say it is a bug, because the generated VHDL code behaves differently > than the MyHDL simulation. That is correct - no excuses. If the conversion succeeds, the VHDL should be have as the VHDL, otherwise it's a bug. Of course, this doesn't mean that it would be easy to fix :-) However, I think the issue you reported is fixed now in development. Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Python as a HDL: http://www.myhdl.org VHDL development, the modern way: http://www.sigasi.com World-class digital design: http://www.easics.com |