From 2bfc72fba947ece194d21b05b083c263dd3a3bad Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 24 Nov 2015 00:54:20 +0800 Subject: [PATCH] testbench.embedding: fix ref_period mismatch. --- artiq/compiler/testbench/embedding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/compiler/testbench/embedding.py b/artiq/compiler/testbench/embedding.py index c20693560..52932ff93 100644 --- a/artiq/compiler/testbench/embedding.py +++ b/artiq/compiler/testbench/embedding.py @@ -20,7 +20,7 @@ def main(): ddb_path = os.path.join(os.path.dirname(sys.argv[1]), "device_db.pyon") try: - core = Core(dmgr=DeviceManager(DeviceDB(ddb_path))) + core = DeviceManager(DeviceDB(ddb_path)).get("core") if compile_only: core.compile(testcase_vars["entrypoint"], (), {}) else: