forked from M-Labs/artiq
examples/compiler_test: use MPO and add dds_sysclk
This commit is contained in:
parent
eb4054d976
commit
677117abfb
|
@ -33,9 +33,9 @@ if __name__ == "__main__":
|
||||||
coredev = core.Core(corecom_dummy.CoreCom())
|
coredev = core.Core(corecom_dummy.CoreCom())
|
||||||
exp = CompilerTest(
|
exp = CompilerTest(
|
||||||
core=coredev,
|
core=coredev,
|
||||||
a=dds_core.DDS(coredev, 0, 0),
|
a=dds_core.DDS(core=coredev, dds_sysclk=1*GHz, reg_channel=0, rtio_channel=0),
|
||||||
b=dds_core.DDS(coredev, 1, 1),
|
b=dds_core.DDS(core=coredev, dds_sysclk=1*GHz, reg_channel=1, rtio_channel=1),
|
||||||
A=dds_core.DDS(coredev, 2, 2),
|
A=dds_core.DDS(core=coredev, dds_sysclk=1*GHz, reg_channel=2, rtio_channel=2),
|
||||||
B=dds_core.DDS(coredev, 3, 3)
|
B=dds_core.DDS(core=coredev, dds_sysclk=1*GHz, reg_channel=3, rtio_channel=3)
|
||||||
)
|
)
|
||||||
exp.run(3, 100*us)
|
exp.run(3, 100*us)
|
||||||
|
|
Loading…
Reference in New Issue