From 4535b60fc0e83402dcc44c3915a29f2d524e88c6 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 24 Sep 2021 13:26:23 +0800 Subject: [PATCH] nac3embedded: add device_db for artiq_run of the compiler output --- nac3embedded/device_db.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 nac3embedded/device_db.py diff --git a/nac3embedded/device_db.py b/nac3embedded/device_db.py new file mode 100644 index 000000000..abf1cab01 --- /dev/null +++ b/nac3embedded/device_db.py @@ -0,0 +1,13 @@ +# python demo.py +# artiq_run module.elf + +core_addr = "192.168.1.50" + +device_db = { + "core": { + "type": "local", + "module": "artiq.coredevice.core", + "class": "Core", + "arguments": {"host": core_addr, "ref_period": 1e-9} + } +}