Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

norflash tb: use get_fragment

  • Loading branch information...
commit 1b3edd07ca010c68b42f2934b203993ed5897be9 1 parent 0e30d67
Sébastien Bourdeauducq sbourdeauducq authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tb/norflash/norflash_conv.py
3  tb/norflash/norflash_conv.py
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.