mirror of https://github.com/m-labs/artiq.git
examples/simple_simulation: do not provide unneeded core device
This commit is contained in:
parent
110b42febf
commit
04b72642c2
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue