From b60abfaa4a47dc60189ecabea5f891b6597f7179 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 5 Jan 2012 19:27:45 +0100 Subject: [PATCH] Convert -> convert --- build.py | 2 +- milkymist/uart/__init__.py | 2 +- tb/norflash/norflash_conv.py | 2 +- top.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.py b/build.py index e751a040..4b34f148 100644 --- a/build.py +++ b/build.py @@ -31,7 +31,7 @@ def str2file(filename, contents): str2file("soc.v", src_verilog) str2file("soc.ucf", src_ucf) verilog_sources.append("build/soc.v") - +#raise SystemExit # xst xst_prj = "" for s in verilog_sources: diff --git a/milkymist/uart/__init__.py b/milkymist/uart/__init__.py index 274f96fa..2e83cbe1 100644 --- a/milkymist/uart/__init__.py +++ b/milkymist/uart/__init__.py @@ -14,7 +14,7 @@ class Inst: self.tx = Signal(reset=1) self.rx = Signal() - self.divisor = int(clk_freq/baud/16); # TODO + self.divisor = int(clk_freq/baud/16) # TODO def get_fragment(self): enable16 = Signal() diff --git a/tb/norflash/norflash_conv.py b/tb/norflash/norflash_conv.py index 15226aca..c44eec5e 100644 --- a/tb/norflash/norflash_conv.py +++ b/tb/norflash/norflash_conv.py @@ -5,6 +5,6 @@ from milkymist import norflash norflash0 = norflash.Inst(25, 12) frag = norflash0.get_fragment() -v = verilog.Convert(frag, name="norflash", +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) diff --git a/top.py b/top.py index c94e67fb..cf20977b 100644 --- a/top.py +++ b/top.py @@ -25,7 +25,7 @@ def get(): frag = autofragment.from_local() vns = convtools.Namespace() - src_verilog = verilog.Convert(frag, + src_verilog = verilog.convert(frag, {clkfx_sys.clkin, reset0.trigger_reset}, name="soc", clk_signal=clkfx_sys.clkout, -- 2.30.2