2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-27 12:18:26 +08:00
Commit Graph

196 Commits

Author SHA1 Message Date
whitequark
353f454a29 Add basic support for embedded functions with new compiler. 2015-08-07 11:44:49 +03:00
9261254653 language/environment: support non-stored results 2015-08-06 18:43:27 +08:00
59a29ae04b language/environment: remove attr_rtresult
This function has the typical side effect of clearing the result. When happening in build(), this caused minor trouble when using pipelined scheduling (no result displayed at all until run() proceeds).
2015-08-06 18:23:09 +08:00
179ca36d09 gui: basic scan support 2015-07-21 21:24:24 +02:00
bb05ed268e language/scan: add argument processor 2015-07-19 16:47:35 +02:00
937ca853aa language/scan: fix random scan, add explicit scan, specify what runs on host/device 2015-07-19 11:36:52 +02:00
deaa492566 language: add scan iterators 2015-07-18 19:26:41 +02:00
9e29a4650a environment,gui: more argument types 2015-07-18 16:25:08 +02:00
5f95a302e6 environment: improve docstrings 2015-07-18 16:24:37 +02:00
2576036ba1 language,worker: preserve order of arguments 2015-07-17 19:32:38 +02:00
7de56666e3 worker,environment: support scanning of arguments with no default 2015-07-15 10:59:48 +02:00
32d141f5ac refactor ddb/pdb/rdb 2015-07-13 22:21:32 +02:00
96a5d73c81 worker: split build stage from prepare 2015-07-09 13:18:12 +02:00
00b9368a0c language/core: add EncodedException to __all_ 2015-07-04 19:51:30 -06:00
2674ed1d2d use __all__ to structure the namespace 2015-07-02 22:02:21 -06:00
5ace0f8e7a Merge branch 'master' of https://github.com/m-labs/artiq 2015-07-01 22:23:10 +02:00
9d6287a6a3 expose machine units to user 2015-07-01 22:22:53 +02:00
39e9e73ff3 language: allow experiments to import from artiq.language
this way the import stanza shows what is imported: just experiment language
related components

keep the imports also at top level until experiments have transitioned

the top level __init__.py should build and expose the entire namespace of artiq
related things, like hdf5 analysis tools, frontend components (like experiment
running api), deployment tools etc.
2015-06-28 20:52:41 -06:00
c71fe29792 simplify unit system and use floats by default 2015-06-26 16:34:37 +02:00
283695e8aa language/core: integrate watchdogs 2015-04-28 23:23:59 +08:00
ca89b6d0ed worker_db: support read-only mode 2015-04-07 15:40:57 +08:00
2b3641ac0a db,worker: fix realtime result initialization 2015-03-13 15:12:55 +01:00
7a1d60ee15 coredevice,runtime,language: add parameters to runtime exceptions, include information with RTIO errors 2015-03-13 14:55:18 +01:00
d95a9cac9a move realtime result registration into dbh, simplify syntax 2015-03-08 17:27:27 +01:00
f2e3dfb848 Experiment base class, replace __artiq_unit__ with docstring 2015-03-08 15:55:30 +01:00
0f007cb1a7 language/db: remove implicit_core 2015-03-08 11:37:53 +01:00
f307897bec units: fix strip_unit 2015-02-27 10:43:03 -07:00
ee9d616733 language/units: add strip_unit function 2015-02-26 23:31:07 -07:00
d51493fb5d language/core: fix interpreter implementations of time/cycle conversions 2015-02-25 21:15:46 -07:00
Yann Sionneau
1b5944257e units: add support for V (Volt) 2015-02-24 14:15:38 -07:00
Yann Sionneau
9485372277 units: add support for abs() on Quantity 2015-02-24 14:15:23 -07:00
61dc177bce units: support direct float conversion 2015-02-16 07:48:05 -07:00
cba0011431 language/db: default to no realtime results 2015-01-29 19:58:00 +08:00
8ed6aeb64a collect realtime results in master 2015-01-13 19:12:19 +08:00
891c0d12f2 refactor device/parameter management, immediate parameter updates, start introducing results 2015-01-12 18:51:23 +08:00
c938e3f4f0 language/context: remove spurious argument 2015-01-10 15:43:13 +08:00
06914bbaa3 Make arguments attributes, integrate with AutoContext
This makes them accessible to future "data analysis" methods.
2015-01-10 15:41:35 +08:00
Yann Sionneau
2ad063c377 Lda: sanity checks on attenuation value
- Plus use of dB unit
2015-01-10 00:27:21 +08:00
c11708972d parameter database writeback 2015-01-07 17:50:05 +08:00
f3b727b59d py2llvm: replace array with list 2014-12-17 21:54:10 +08:00
2a95d27770 device and parameter database 2014-12-03 18:20:30 +08:00
5b8f34bae2 language/core/kernel: support return values 2014-12-03 17:21:26 +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
a3f981726a units: error checking 2014-11-22 16:56:51 -08:00
8d305e3117 doc: some precisions about controllers 2014-10-28 11:43:06 +08:00
61a50ee53c reorganize for devices/controllers 2014-10-19 23:51:49 +08:00
7c4450a963 time_to_cycles: round instead of flooring 2014-10-13 18:35:05 +08:00
482f4651ff language/core: add 'portable' decorator 2014-10-13 17:04:32 +08:00
4361c7cb49 language/core: support cycles_to_time and time_to_cycles outside of kernel 2014-10-12 22:59:19 +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
1a64e92e75 language/units: add mod 2014-10-06 23:26:35 +08:00
0985a53df2 language/core: add time_to_cycles and cycles_to_time 2014-10-06 23:26:21 +08:00
70fc0f6ce7 language/units: better support for ops on different dimensions 2014-10-05 23:15:25 +08:00
6c44fe0a87 language/units: fix printing 2014-10-05 21:35:24 +08:00
2a19d7d32b language/units: use only a string to identify units 2014-10-05 21:01:08 +08:00
2944592201 Remove microcycle unit
Introducing it complicates things and has no advantage with good rational arithmetic support.
2014-10-05 17:54:22 +08:00
73d0a84b44 doc: various cleanups 2014-09-30 18:10:40 +08:00
5ac42e42c1 rename artiq.language.std -> artiq 2014-09-30 17:38:02 +08:00
821834891e language/core: use 'var' for class attribute docstring 2014-09-30 16:43:27 +08:00
05d8dde412 language/core: pass docstrings through kernel decorator 2014-09-30 16:43:00 +08:00
d3e70ec53d language/units: cleanup and add docstrings 2014-09-29 23:41:37 +08:00
f105e5e214 language: add std module with common user features 2014-09-29 23:14:10 +08:00
035b541a73 language/core: add RuntimeException 2014-09-29 17:36:35 +08:00
4a1cad5227 language/core: reduce namespace pollution 2014-09-29 17:28:14 +08:00
dd6de244fe minor cleanups 2014-09-26 17:21:51 +08:00
4f26b6281d host: support runtime device exceptions 2014-09-25 12:57:26 +08:00
655835e8de language/core: cleanup 2014-09-21 23:18:33 +08:00
320d3c36ed language/core: add EncodedException 2014-09-21 23:17:46 +08:00
7e45cd62ef language/core: add docstrings 2014-09-18 17:44:11 +08:00
f5167f21fb language/core: make KernelFunctionInfo private 2014-09-18 17:20:34 +08:00
3249b8ad3e language/core: reduce namespace pollution 2014-09-18 16:30:38 +08:00
71adcb74bf language/core: remove kernel_attr_ro 2014-09-13 19:24:58 +08:00
f410b4d241 language/core: add array function 2014-09-09 17:12:37 +08:00
4915b4b5aa PEP8 2014-09-05 12:03:22 +08:00
331dbc971b language/units: add microcycle unit for core time 2014-08-18 22:52:54 +08:00
9189ad5fab language/core: update kernel ro types 2014-08-16 23:19:25 +08:00
71825f5ae0 language/core: add round64 2014-08-16 23:18:56 +08:00
232092166e units: support division by quantities in the same unit 2014-08-16 10:27:44 +08:00
2e9410464d language/core: add int64 2014-08-15 23:43:59 +08:00
c18495d484 MPO -> AutoContext 2014-08-13 18:30:57 +08:00
3446c1f914 language/core: remove unneeded import 2014-08-13 18:00:38 +08:00
a2691ab07a language/units: do not quantize 2014-08-13 17:52:01 +08:00
529b83bb58 language/core/MPO: new parameter/channel mechanism 2014-07-11 01:12:40 +02:00
6509f1fd04 artiq.language.experiment -> artiq.language.core 2014-07-10 18:13:37 +02:00
5f01b061f7 MPO: implicit core 2014-07-10 15:38:51 +02:00
d76182a3ee Experiment -> MPO (Managed Parameter Object) 2014-07-10 15:29:22 +02:00
79f20ebfcf Make syscall an experiment function instead of a core method 2014-06-16 23:51:27 +02:00
f035507bac language/experiment: attach k_function_info in kernel decorator, do not use star notation for kernel args 2014-06-16 21:51:58 +02:00
3cd462f4d5 experiment: simplify definition of kernel_attr 2014-06-10 15:22:27 +02:00
8cc9c9eed6 units: remove duplicate method 2014-06-10 15:16:45 +02:00
d7f9e6b228 experiment: add list of kernel globals 2014-06-10 15:16:04 +02:00
b0006e933a experiment/_DummyTimeManager: add missing enter_parallel 2014-06-10 15:15:35 +02:00
13acb57179 TimeManager: use units further, add now/at functionality 2014-05-30 19:01:27 +02:00
732412e4c9 units: implement operators 2014-05-30 19:00:33 +02:00
c769bdab9b Introduce compiler and device modules 2014-05-30 18:20:13 +02:00
18ef03c545 Refactor, introduce experiment class, kernel decorator, parameters and channel objects 2014-05-28 22:42:01 +02:00