Commit Graph

168 Commits

Author SHA1 Message Date
d621780206 language/scan: mark scan objects 2015-09-05 14:42:19 -06:00
whitequark
1437fff17b language.core.int64: implement __{,i,r}truediv__. 2015-09-02 17:55:48 -06:00
whitequark
5916c10b24 ARTIQException: replace ARTIQ library path with <artiq> in tracebacks. 2015-08-28 04:55:46 -05:00
whitequark
c621b1f275 compiler: handle language.core.int during embedding. 2015-08-28 03:24:15 -05:00
whitequark
d473d58b41 artiq_{compile,run}: adapt to new compiler. 2015-08-28 01:43:46 -05:00
ebfd8c937c language/environment: fix set_* with parent 2015-08-28 10:00:04 +08:00
79ca0d50fa gui,environment: default step to 1.0 2015-08-26 20:43:00 +08:00
e043179120 language,gui: support ndecimals in scan and number arguments 2015-08-25 00:39:16 +08:00
1ad8e65e42 language/environment: support parents 2015-08-25 00:03:36 +08:00
bb228b00ef gui,language,master: argument groups 2015-08-24 23:46:54 +08:00
72616f6f29 language: document HasEnvironment.dbs 2015-08-22 21:04:23 +08:00
ac7e080c48 typo 2015-08-21 17:51:11 +08:00
ac5dd0a7e5 doc: scans 2015-08-21 13:32:53 +08:00
a8575fe2ac typo 2015-08-21 13:32:26 +08:00
9f0ada49e5 doc: environment 2015-08-18 23:30:50 +08:00
whitequark
fd3c8a2830 language.core: remove {int,round}64, implement int with device semantics. 2015-08-11 12:57:17 +03:00
whitequark
46476516ba ARTIQException: tell linecache where to look for runtime sources.
Runtime sources can appear in the backtrace when
artiq_raise_from_c is used.
2015-08-10 20:26:07 +03:00
whitequark
c72267ecf5 Implement syscalls for the new compiler. 2015-08-10 20:26:06 +03:00
whitequark
435559fe50 Allow type annotations on remotely called functions. 2015-08-10 17:48:35 +03:00
whitequark
75532d10aa Display full core device backtraces. 2015-08-10 15:12:22 +03:00
whitequark
96c770190c Add column marker to ARTIQ exception traceback. 2015-08-08 16:09:47 +03:00
whitequark
27d2390fed Add zero-cost exception support to runtime and host. 2015-08-08 16:01:31 +03:00
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