Skip to content

Commit

Permalink
norflash tb: use get_fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Dec 17, 2011
1 parent 0e30d67 commit 1b3edd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tb/norflash/norflash_conv.py
@@ -1,9 +1,10 @@
from migen.fhdl import verilog
from migen.bus import wishbone

from milkymist import norflash

norflash0 = norflash.Inst(25, 12)
frag = norflash0.GetFragment()
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)

0 comments on commit 1b3edd0

Please sign in to comment.