mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
tb/asmicon: new initiator API
This commit is contained in:
parent
a0ff666628
commit
5ae1b2644e
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ def my_generator_w():
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
dut = ASMIcon(sdram_phy, sdram_geom, sdram_timing)
|
dut = ASMIcon(sdram_phy, sdram_geom, sdram_timing)
|
||||||
initiator1 = Initiator(dut.hub.get_port(), my_generator_r())
|
initiator1 = Initiator(my_generator_r(), dut.hub.get_port())
|
||||||
initiator2 = Initiator(dut.hub.get_port(), my_generator_w())
|
initiator2 = Initiator(my_generator_w(), dut.hub.get_port())
|
||||||
dut.finalize()
|
dut.finalize()
|
||||||
|
|
||||||
logger = DFILogger(dut.dfi)
|
logger = DFILogger(dut.dfi)
|
||||||
|
|
Loading…
Reference in a new issue