From 1b3edd07ca010c68b42f2934b203993ed5897be9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 17 Dec 2011 15:22:26 +0100 Subject: [PATCH] norflash tb: use get_fragment --- tb/norflash/norflash_conv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tb/norflash/norflash_conv.py b/tb/norflash/norflash_conv.py index 341f5e4c..15226aca 100644 --- a/tb/norflash/norflash_conv.py +++ b/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) -- 2.30.2