artiq-zynq-oxford/experiments/minimal.py
2018-10-04 22:19:23 +01:00

15 lines
316 B
Python
Executable File

from artiq.experiment import *
class Minimal(EnvExperiment):
def build(self):
self.setattr_device("core")
@kernel
def run(self):
core_log(" :: Hello from kernel")
# try:
raise ValueError
# except ValueError as e:
# core_log(" :: Caught exception.")