Re: [myhdl-list] TypeError: Unexpected type with toVerilog
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2012-05-28 10:25:24
|
On 05/26/2012 12:19 AM, Christopher Felton wrote: > > Again, the odd behavior is with the /always/ generator conversion. I > believe, it created valid logic. The converted code should simulate > correctly while the MyHDL code doesn't. That is meaningless. If the converted code doesn't simulate the same as the MyHDL code, there is a bug in the convertor, regardless of whether the result is deemed "correct" or not. (The same holds for synthesis, something almost nobody seems to understand.) The bug may be that the convertor did not refuse to convert. > This is *not* the error that I reported earlier, that the enum cannot be > used in an /always_comb/. To make progress, I need a simple (one-file) test that *fails* when I run it without me having to make any change (which could mask the problem you want address). I'll take it from there. -- 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 |