forked from M-Labs/artiq
1
0
Fork 0

examples/simple_simulation: do not provide unneeded core device

This commit is contained in:
Sebastien Bourdeauducq 2014-08-13 18:37:55 +08:00
parent 110b42febf
commit 04b72642c2
1 changed files with 5 additions and 6 deletions

View File

@ -18,13 +18,12 @@ if __name__ == "__main__":
from artiq.sim import devices as sd from artiq.sim import devices as sd
from artiq.sim import time from artiq.sim import time
coredev = sd.Core()
exp = SimpleSimulation( exp = SimpleSimulation(
core=coredev, core=sd.Core(),
a=sd.WaveOutput(core=coredev, name="a"), a=sd.WaveOutput(name="a"),
b=sd.WaveOutput(core=coredev, name="b"), b=sd.WaveOutput(name="b"),
c=sd.WaveOutput(core=coredev, name="c"), c=sd.WaveOutput(name="c"),
d=sd.WaveOutput(core=coredev, name="d"), d=sd.WaveOutput(name="d"),
) )
exp.run() exp.run()
print(time.manager.format_timeline()) print(time.manager.format_timeline())