Commit Graph

228 Commits

Author SHA1 Message Date
Yann Sionneau
5cfdac9c7c Lda: replace assert with direct exception raising 2015-02-20 10:21:15 -07:00
05824fd3be lda: style 2015-02-18 11:31:44 -07:00
Yann Sionneau
dc132bd248 lda: fixes 2015-02-18 11:23:24 -07:00
4558fb3e33 clarify controller terminology 2015-02-16 08:57:15 -07:00
021d0d312e novatech409b: do not specify type info in docstrings 2015-02-16 04:43:30 -07:00
Joe Britton
a3494c57cc add Novatech 409B controller 2015-02-15 17:31:37 -07:00
891c0d12f2 refactor device/parameter management, immediate parameter updates, start introducing results 2015-01-12 18:51:23 +08:00
Yann Sionneau
2ad063c377 Lda: sanity checks on attenuation value
- Plus use of dB unit
2015-01-10 00:27:21 +08:00
Yann Sionneau
d21211a473 lda: docstring style 2015-01-10 00:27:15 +08:00
dhslichter
ff37cdc26c Update driver.py 2015-01-05 17:40:37 -07:00
dhslichter
c971a6f1c6 Update driver.py
Fix 32dB limit bug
2015-01-05 15:52:47 -07:00
d315268ddb move controllers/clients to frontend 2014-12-11 14:10:15 +08:00
87fdad97ca devices/lda: break off main function 2014-12-10 12:01:31 +08:00
2a843ea436 language: replace AutoContext 'parameter' string with abstract attributes
This allows specifying default values for parameters, and other data.
2014-12-02 17:19:05 +08:00
Yann Sionneau
0c20445413 lda: allow to simulate without needing hidapi
This also fixes some old style string formating
2014-12-01 19:39:13 +08:00
9c41f98d70 lda_controller: fix memory leak 2014-11-29 11:19:03 +08:00
8f18d8d492 devices: use underscore in filenames to permit import 2014-11-29 11:03:52 +08:00
Yann Sionneau
81ab801fe4 lda: filter reports when waiting for command response 2014-11-29 10:50:41 +08:00
Yann Sionneau
075e540032 lda: separate simulation class 2014-11-29 10:50:12 +08:00
Yann Sionneau
b9e7fdb80e lda: add docstring 2014-11-29 10:49:43 +08:00
dc27c2e3ad lda: remove excessive verbosity 2014-11-25 19:59:53 +08:00
57e25c7af1 lda: minor fixes and refactoring 2014-11-25 19:56:28 +08:00
Yann Sionneau
744e7841c6 devices: initial LDA controller 2014-11-25 19:51:28 +08:00
9098d10766 use .py extension on all Python files 2014-11-18 13:50:47 -08:00
f54a2f93d2 remove kernel_attr (inline transform is now smart enough to autodetect) 2014-11-03 14:38:04 +08:00
4cae5531ec pc_rpc: server identification support 2014-10-28 15:45:56 +08:00
2946fa58b8 pc_rpc: factor out asyncio server code 2014-10-27 20:37:37 +08:00
1e5b05d4ec pdq2: fix commandline arguments 2014-10-27 20:34:33 +08:00
171ed70f2a pc_rpc: remove WaitQuit (use e.g. Ctrl-C on the controller side instead) 2014-10-27 14:33:45 +08:00
3f1391f7f2 devices: basic pdq2 controller/client 2014-10-25 11:38:42 +08:00
85b6a7ca24 pdq2: small improvements based on ML feedback 2014-10-22 17:31:33 +08:00
61a50ee53c reorganize for devices/controllers 2014-10-19 23:51:49 +08:00
caab81974a devices: add pdq2 (incomplete) 2014-10-17 00:13:09 +08:00
111bd3092c devices/rtio_core: add LLRTIOOut 2014-10-17 00:12:53 +08:00
27d1a5ffb9 devices/dds_core: rename rtio_channel to rtio_switch 2014-10-16 23:36:28 +08:00
cbf915c2cc devices/runtime: pretty-print 2014-10-14 19:49:39 +08:00
88ad4fbf23 pdq2: pep8 2014-10-14 17:02:25 +08:00
ea0773ccb5 pdq2: split CLI 2014-10-14 16:38:02 +08:00
de158e0aeb artiq/devices: add pdq2.py 2014-10-14 16:00:52 +08:00
d22c30650d rtio: add timestamp function 2014-10-14 15:54:10 +08:00
2449348f31 devices/runtime: allow 1ms for all initial DDS programming 2014-10-14 12:47:24 +08:00
a303293e8f devices/dds_core: fix merging of back-to-back pulses of different frequencies 2014-10-13 23:58:32 +08:00
0158de5ac9 devices/corecom_dummy: fix ref_period 2014-10-13 17:20:12 +08:00
74adb39157 devices/dds_core: add frequency_to_ftw and ftw_to_frequency 2014-10-13 17:05:35 +08:00
9925568473 devices/runtime: add returns_twice attribute on __eh_setjmp (fixes exception crashes) 2014-10-11 12:59:39 +08:00
Yann Sionneau
e3ef077cb2 Fix module installation
Allow to use setup.py for ARTIQ instead of PYTHONPATH.
Without this, the installation is incomplete.
2014-10-11 00:42:26 +08:00
e22301ea05 transforms: track units, now() returns seconds, implement time_to_cycles and cycles_to_time 2014-10-06 23:28:56 +08:00
8612a8a9ca devices/dds_core: remove stale kernel_attr 2014-10-06 17:23:00 +08:00
76fed11d59 rtio: raise RTIOSequenceError exceptions when events are not submitted in-order 2014-09-30 19:32:11 +08:00
73d0a84b44 doc: various cleanups 2014-09-30 18:10:40 +08:00
cb036a30c7 devices/dds_core: document 2014-09-30 17:38:52 +08:00
5099643f84 devices/rtio_core: rename RTIOCounter to RTIOIn and document 2014-09-30 16:42:07 +08:00
4572b7657f devices/runtime_exceptions: fix exception_map generation 2014-09-29 18:08:58 +08:00
035b541a73 language/core: add RuntimeException 2014-09-29 17:36:35 +08:00
af0cd902d3 get frequency from RTIO, support fractional frequencies 2014-09-26 17:24:06 +08:00
e0cd45b1ba devices/corecom_serial: do not use deprecated logger.warn 2014-09-25 12:58:11 +08:00
4f26b6281d host: support runtime device exceptions 2014-09-25 12:57:26 +08:00
af15f45bb9 runtime: do not use buggy llvm.eh.sjlj.* intrinsics 2014-09-23 22:09:08 +08:00
8b769a0417 devices/runtime: add more eh functions 2014-09-23 16:25:41 +08:00
bad87ef38b devices/corecom_serial: unpack unsigned chars 2014-09-22 13:23:39 +08:00
19abab3feb devices/runtime: rename syscall to build_syscall 2014-09-22 13:22:38 +08:00
5244a63b55 devices/runtime: register eh_raise service 2014-09-22 13:22:04 +08:00
3de24619b2 corecom: exception support 2014-09-21 23:36:10 +08:00
e821f9eb83 transforms/inline: encode exceptions 2014-09-21 23:30:40 +08:00
426d6dd979 corecom_serial: logger/debugging 2014-09-21 18:19:14 +08:00
0b1ebb1ba5 devices/core: raise loop unrolling limit 2014-09-17 19:52:18 +08:00
9af0e9c91a devices/runtime: support dumping of ELF object via ARTIQ_DUMP_OBJECT environment variable 2014-09-17 18:03:54 +08:00
af6457c5fa devices/core: enable unparser via ARTIQ_UNPARSE environment variable 2014-09-17 17:06:51 +08:00
140b4eb594 devices/rtio_core: set OE, implement gate/count 2014-09-15 22:48:22 +08:00
8bf7b27a89 runtime: increase initial_time 2014-09-15 22:47:19 +08:00
11d8840277 runtime: new serial protocol, support multiple entry points and log messages 2014-09-15 22:40:33 +08:00
f529361c8b runtime: add rtio_oe and rtio_get syscalls 2014-09-14 23:30:33 +08:00
a55018953d devices/rtio_core: add dummy counter 2014-09-13 19:37:57 +08:00
5c228f9114 Consistent variable naming 2014-09-13 19:32:21 +08:00
6861d28d2d runtime: support arbitrarily long initial DDS setup time 2014-09-12 15:40:34 +08:00
92efde1e40 devices/dds_core: support realtime FUD and zero-length pulse collapsing 2014-09-12 15:36:17 +08:00
a60e6237bf runtime: increase initial time
This leaves some time for DDS FUD operations to complete.
2014-09-12 15:34:29 +08:00
16b2d9f177 runtime: support real-time FUD 2014-09-12 15:34:11 +08:00
b5f145d976 devices: new RTIO driver 2014-09-12 15:28:02 +08:00
10d796e026 runtime: add rtio_replace syscall 2014-09-11 23:14:45 +08:00
e6530075d9 devices/dds_core: add on/off methods 2014-09-09 22:00:51 +08:00
8aa69cb959 devices/runtime: use new py2llvm methods 2014-09-09 21:02:38 +08:00
15dcf3351b py2llvm: move GCD function into LLVM IR 2014-09-07 14:46:32 +08:00
3c8b541939 py2llvm: reorganize, split 'values' module, factor LLVM module/pass management 2014-09-07 14:09:03 +08:00
a647e1104d compiler: split into transforms and py2llvm 2014-09-05 22:18:31 +08:00
ef1f8787dc devices/runtime: minor cleanup 2014-09-05 21:51:58 +08:00
4915b4b5aa PEP8 2014-09-05 12:03:22 +08:00
a861226409 compiler/ir: fraction normalization 2014-08-28 17:24:33 +08:00
0832507c26 compiler/ir: refactor SSA/alloca management 2014-08-19 17:52:05 +08:00
62b872ad94 devices/dds_core: use new compiler features to compute tuning word trivially 2014-08-18 23:53:10 +08:00
7a90f4f4ec runtime: start RTIO counter at first rtio_set 2014-08-18 23:46:58 +08:00
7d8dc4ef30 runtime: support 64-bit RTIO timestamps 2014-08-18 23:41:54 +08:00
7ea28642e4 compiler: add lower_units transform 2014-08-18 23:06:34 +08:00
a5e5b5c870 compiler: pass funcdef instead of statement list 2014-08-18 21:37:30 +08:00
15c78df3a2 devices/runtime: new syscall API 2014-08-18 14:33:54 +08:00
c18495d484 MPO -> AutoContext 2014-08-13 18:30:57 +08:00
f390e9a7d1 corecom_serial: add CRC for kernel 2014-07-23 19:12:22 -06:00
52e8d4150b devices/dds_core: use MPO and runtime IF 2014-07-23 11:50:23 -06:00
ba088614d8 runtime: add dds_program 2014-07-23 11:49:48 -06:00
dec7c1438f runtime: implement rtio_sync syscall 2014-07-22 11:36:54 -06:00
8769066e89 compiler/devices: set initial time 2014-07-21 13:22:07 -06:00
041540089a devices: add RTIO support 2014-07-20 18:36:17 -06:00
1885a87187 devices/gpio_core: use MPO 2014-07-20 18:23:53 -06:00
591509d31b compiler: lower time transform 2014-07-15 11:22:11 -06:00
17fab6f024 corecom_serial: support ident and runtime environment creation 2014-07-15 11:21:31 -06:00
6f28ab2cc6 devices: let corecom create runtime environment, add dummy corecom 2014-07-15 11:20:13 -06:00
6509f1fd04 artiq.language.experiment -> artiq.language.core 2014-07-10 18:13:37 +02:00
4f0e40ca3c devices/core: service RPC requests 2014-07-07 19:14:23 +02:00
09e78a1f5e devices/corecom_serial: RPC server 2014-07-07 19:11:43 +02:00
5a3fa5dbff devices/runtime: function type strings + variadic function support 2014-07-06 21:06:27 +02:00
61c0b65323 devices/runtime: machine code emission 2014-07-05 22:48:14 +02:00
1aac985f10 devices/core: compile to machine code and run on hardware 2014-07-05 22:47:54 +02:00
301b7d51fa add gpio_out syscall 2014-07-05 22:46:43 +02:00
37cd4e7e86 devices: add simple GPIO out 2014-07-05 22:45:08 +02:00
de238503d2 devices/runtime: use regular function call instead of syscall 2014-07-05 19:39:05 +02:00
6b8ac5ae7b devices: add basic core device serial comms driver 2014-07-05 19:12:21 +02:00
29bd6e377d core_dds -> dds_core 2014-07-04 17:57:53 +02:00
71323fb7cd compiler: system calls 2014-07-04 17:17:01 +02:00
74cdafdde5 compiler: interleave transform 2014-06-22 18:52:37 +02:00
b28fdf5fb0 compiler: add unroll_loops transform 2014-06-21 15:06:15 +02:00
6400e28e4c compiler: fold constants 2014-06-21 00:19:56 +02:00
0d9bdc101c inline: check inlined functions are on the same core device 2014-06-17 18:52:48 +02:00
79f20ebfcf Make syscall an experiment function instead of a core method 2014-06-16 23:51:27 +02:00
9db8627081 compiler: generate RPC calls 2014-06-16 22:56:08 +02:00
792ac44245 inline: return statements 2014-06-16 22:01:20 +02:00
d63c3264d3 devices/core: test inline transform first 2014-06-16 21:33:59 +02:00
3cd462f4d5 experiment: simplify definition of kernel_attr 2014-06-10 15:22:27 +02:00
c769bdab9b Introduce compiler and device modules 2014-05-30 18:20:13 +02:00