Convert -> convert
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 5 Jan 2012 18:27:45 +0000 (19:27 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 5 Jan 2012 18:27:45 +0000 (19:27 +0100)
build.py
milkymist/uart/__init__.py
tb/norflash/norflash_conv.py
top.py

index e751a040953998b49d7417894da564dcdc74045d..4b34f1481c1a9f7a17542f8b21e640c77fce84b2 100644 (file)
--- 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:
index 274f96faae139854a423e439577e0dc101b8422b..2e83cbe14d9d0ab50c84efd1c8d57ae595478d94 100644 (file)
@@ -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()
index 15226acaf145270f7b174ab85294a51bd8fc812c..c44eec5e98d9e0dbe112bd103a34b49d738a7373 100644 (file)
@@ -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 c94e67fbbdd8387b65e73452ec786ce0c3f46e88..cf20977b21ea9fbac250554447b5f94f3e2f6b6b 100644 (file)
--- 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,