forked from M-Labs/artiq
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 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())
|
||||||
|
|
Loading…
Reference in New Issue