Re: [myhdl-list] AttributeError in 0.8-dev but not in 0.7
Brought to you by:
jandecaluwe
From: Per K. <bas...@gm...> - 2013-01-24 13:41:40
|
The problem is that val is an intbv (that is checked) but next is a bool (and next is never checked). So next has no ._val I don't think the problem can be reproduced using mere assignments. It is, I think, the mixed types in the conditionals that cause the error. I'll make another try at reproducing it 'in vitro' once I get the time. /Per On Thu, Jan 24, 2013 at 1:15 PM, Christopher Felton <chr...@gm...>wrote: > The /self._val._val = next._val/ is correct, it says > assign the /Signal.intbv._val/, the _val of the signal > is an intbv (per the check right before). > |