Commit Graph

168 Commits

Author SHA1 Message Date
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