Re: [myhdl-list] Migen logic design toolbox - now with simulator
Brought to you by:
jandecaluwe
From: Sébastien B. <seb...@mi...> - 2012-03-21 09:57:58
|
On 03/21/2012 10:43 AM, Sébastien Bourdeauducq wrote: > comb += [If(a[i], pos.eq(i)) for i in downrange(a.bv.width)] Of course, it should be "range" here, not "downrange". S. |