From 677117abfb235a901477d14114fcb2ab73b00086 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 13 Aug 2014 18:17:08 +0800 Subject: [PATCH] examples/compiler_test: use MPO and add dds_sysclk --- examples/compiler_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/compiler_test.py b/examples/compiler_test.py index 20082dd55..b93669900 100644 --- a/examples/compiler_test.py +++ b/examples/compiler_test.py @@ -33,9 +33,9 @@ if __name__ == "__main__": coredev = core.Core(corecom_dummy.CoreCom()) exp = CompilerTest( core=coredev, - a=dds_core.DDS(coredev, 0, 0), - b=dds_core.DDS(coredev, 1, 1), - A=dds_core.DDS(coredev, 2, 2), - B=dds_core.DDS(coredev, 3, 3) + a=dds_core.DDS(core=coredev, dds_sysclk=1*GHz, reg_channel=0, rtio_channel=0), + b=dds_core.DDS(core=coredev, dds_sysclk=1*GHz, reg_channel=1, rtio_channel=1), + A=dds_core.DDS(core=coredev, dds_sysclk=1*GHz, reg_channel=2, rtio_channel=2), + B=dds_core.DDS(core=coredev, dds_sysclk=1*GHz, reg_channel=3, rtio_channel=3) ) exp.run(3, 100*us)