From 04b72642c280abfe27b921ceacc1b830349bada6 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 13 Aug 2014 18:37:55 +0800 Subject: [PATCH] examples/simple_simulation: do not provide unneeded core device --- examples/simple_simulation.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/simple_simulation.py b/examples/simple_simulation.py index 54b5412de..a9183302b 100644 --- a/examples/simple_simulation.py +++ b/examples/simple_simulation.py @@ -18,13 +18,12 @@ if __name__ == "__main__": from artiq.sim import devices as sd from artiq.sim import time - coredev = sd.Core() exp = SimpleSimulation( - core=coredev, - a=sd.WaveOutput(core=coredev, name="a"), - b=sd.WaveOutput(core=coredev, name="b"), - c=sd.WaveOutput(core=coredev, name="c"), - d=sd.WaveOutput(core=coredev, name="d"), + core=sd.Core(), + a=sd.WaveOutput(name="a"), + b=sd.WaveOutput(name="b"), + c=sd.WaveOutput(name="c"), + d=sd.WaveOutput(name="d"), ) exp.run() print(time.manager.format_timeline())