litex/tb/norflash/norflash_conv.py
Sebastien Bourdeauducq b60abfaa4a Convert -> convert
2012-01-05 19:27:45 +01:00

10 lines
387 B
Python

from migen.fhdl import verilog
from migen.bus import wishbone
from milkymist import norflash
norflash0 = norflash.Inst(25, 12)
frag = norflash0.get_fragment()
v = verilog.convert(frag, name="norflash",
ios={norflash0.bus.cyc_i, norflash0.bus.stb_i, norflash0.bus.we_i, norflash0.bus.adr_i, norflash0.bus.sel_i, norflash0.bus.dat_i, norflash0.bus.dat_o, norflash0.bus.ack_o})
print(v)