litex/tb/norflash/norflash_conv.py

11 lines
387 B
Python
Raw Normal View History

2011-12-13 11:33:12 -05:00
from migen.fhdl import verilog
from migen.bus import wishbone
2011-12-17 09:22:26 -05:00
2011-12-13 11:33:12 -05:00
from milkymist import norflash
norflash0 = norflash.Inst(25, 12)
2011-12-17 09:22:26 -05:00
frag = norflash0.get_fragment()
2012-01-05 13:27:45 -05:00
v = verilog.convert(frag, name="norflash",
2011-12-13 11:33:12 -05:00
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)