From: Sebastien Bourdeauducq Date: Sat, 17 Dec 2011 14:22:26 +0000 (+0100) Subject: norflash tb: use get_fragment X-Git-Tag: 24jan2021_ls180~3280 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b3edd07ca010c68b42f2934b203993ed5897be9;p=litex.git norflash tb: use get_fragment --- 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)