tb/asmicon: new initiator API
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 17 Nov 2012 18:43:30 +0000 (19:43 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 17 Nov 2012 18:43:30 +0000 (19:43 +0100)
tb/asmicon/asmicon.py

index 415afe58ce2b466246b96ff45dc7d8e0d5a99905..d004ff681ebc67361a8aa7312deeab50e6d98644 100644 (file)
@@ -21,8 +21,8 @@ def my_generator_w():
 
 def main():
        dut = ASMIcon(sdram_phy, sdram_geom, sdram_timing)
-       initiator1 = Initiator(dut.hub.get_port(), my_generator_r())
-       initiator2 = Initiator(dut.hub.get_port(), my_generator_w())
+       initiator1 = Initiator(my_generator_r(), dut.hub.get_port())
+       initiator2 = Initiator(my_generator_w(), dut.hub.get_port())
        dut.finalize()
        
        logger = DFILogger(dut.dfi)