Otherwise the following code fails to compile:
index = Signal(1)
array = Array(range(2))
with m.If(0 == array[index]):
m.d.sync += index.eq(0)
Fixes #51.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| pysim.py | ||
| rtlil.py | ||
| verilog.py | ||
Otherwise the following code fails to compile:
index = Signal(1)
array = Array(range(2))
with m.If(0 == array[index]):
m.d.sync += index.eq(0)
Fixes #51.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| pysim.py | ||
| rtlil.py | ||
| verilog.py | ||