lm32: compatibility with the new instance API
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 16 Feb 2012 17:35:22 +0000 (18:35 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 16 Feb 2012 17:35:22 +0000 (18:35 +0100)
milkymist/lm32/__init__.py

index 5d7267760dede769a52f147d252ba1dc1f16cb9a..cace4b54b2aebc96723e03a3b132c7f8f0cd1cc5 100644 (file)
@@ -38,11 +38,8 @@ class LM32:
                        ("D_ERR_I", d.err),
                        ("D_RTY_I", BV(1))],
                        
-                       [],
-                       
-                       "clk_i",
-                       "rst_i",
-                       "lm32")
+                       clkport="clk_i",
+                       rstport="rst_i")
 
        def get_fragment(self):
                comb = [