Re: [myhdl-list] Activation list problem along with list of signals
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2008-08-25 08:50:22
|
Andrew Lentvorski wrote: > I think it's been reported before, but placing a list of signals in an > activation list doesn't seem to work. No, but you can always construct a new sensitivity list from other lists and elements and use that. > However, I've got a more interesting issue. Since I can't put the list > into an activation list, I have to explicitly name every signal. > Annoying, but doable. Unfortunately, I can't seem to find a way to > split the line that Python likes. Since everything was inside a () > pair, I assumed that would work, but it doesn't seem to. Then I tried a > \ line extension operator, but that didn't work. > > How do I split an activation list across multiple lines? Are you talking about modeling or conversion? For conversion, I can see an issue because during source code manipulation the decorator needs to be stripped off, and from the code this seems to assume a single-line decorator. It's a MyHDL conversion issue. But for modelling, the methods you describe should work (as in pure Python). Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Kaboutermansstraat 97, B-3000 Leuven, Belgium From Python to silicon: http://myhdl.jandecaluwe.com |