diff --git a/artiq/frontend/artiq_run.py b/artiq/frontend/artiq_run.py index 4e6f2b7a3..98e3c8221 100755 --- a/artiq/frontend/artiq_run.py +++ b/artiq/frontend/artiq_run.py @@ -21,7 +21,6 @@ from artiq.master.databases import DeviceDB, DatasetDB from artiq.master.worker_db import DeviceManager, DatasetManager from artiq.coredevice.core import CompileError, host_only from artiq.compiler.embedding import EmbeddingMap -from artiq.compiler.targets import OR1KTarget from artiq.compiler import import_cache from artiq.tools import * @@ -53,7 +52,7 @@ class FileRunner(EnvExperiment): def build(self, file): self.setattr_device("core") self.file = file - self.target = OR1KTarget() + self.target = self.core.target_cls() def run(self): kernel_library = self.compile()