Re: [myhdl-list] TypeError: Unexpected type with toVerilog
Brought to you by:
jandecaluwe
From: Jan C. <jan...@mu...> - 2012-05-26 08:50:18
|
On 26/05/12 00:28, Jan Coombs wrote: > The /always_comb/ problem still shows in my processor code when > using enums, but converts ok when constants are used: The attached code shows a problem with using enum for state control inside an @always_comb process. I have carefully cut this down from my working code to show just my conversion problem. > Perhaps if I knew a little more of class notation I could have > simple constants expressed in the same notation as enums, and > simplify comparative testing. I had a go at this, and it seems to produce the same errors as using enums. Jan Coombs. -- |