whitequark
e2f7d1047d
compiler.testbench: fix after e1cd2ccd
.
2015-11-26 10:24:14 +08:00
whitequark
f70f7fb89b
Merge branch 'master' into new-py2llvm
2015-10-30 04:29:35 +03:00
40b4129c65
Only support scalars and numpy arrays in HDF5 output. Update documentation. Closes #145
2015-10-28 18:33:42 +08:00
d13b368a65
build logging into worker
2015-10-20 18:11:50 +08:00
b9c1d3ef12
language, gui: do not automatically insert scale prefixes
2015-10-18 00:52:16 +08:00
5899825eef
import order
2015-10-17 10:41:52 +08:00
797bf9830c
language: add basic logging initializer for experiments
2015-10-17 10:39:21 +08:00
whitequark
e9adfd639e
Merge branch 'master' into new-py2llvm
2015-10-14 16:09:57 +03:00
whitequark
bd5b324fc2
Merge branch 'master' into new-py2llvm
2015-10-13 19:24:45 +03:00
fc4791bbbe
doc: new dataset API
2015-10-13 18:11:17 +08:00
3cec176318
get_ddb -> get_device_db
2015-10-12 19:46:31 +08:00
97accd2540
merge parameters and results into datasets
2015-10-12 17:18:23 +08:00
7414b90da3
language/scan: add len() support
2015-10-12 16:06:12 +08:00
cd3b590962
language/scan: add missing attributes to RandomScan
...
Reported by Joe
2015-10-11 10:05:27 +08:00
139072d402
Graceful experiment termination. Closes #76
2015-10-06 13:50:00 +08:00
66f82a13d3
language,gui: support scaling of number entries
2015-10-06 00:30:41 +08:00
b3584bc190
language,master,run: support raw access to DDB from experiments. Closes #123
2015-10-04 18:29:39 +08:00
50a5a3baf0
environment: attr_* -> setattr_*
2015-10-04 00:18:21 +08:00
whitequark
3e1348a084
Merge branch 'master' of github.com:m-labs/artiq into new-py2llvm
2015-09-27 18:22:28 +03:00
01416bb0be
copyright: claim contributions
...
These are contributions of >= 30% or >= 20 lines (half-automated).
I hereby resubmit all my previous contributions to the ARTIQ project
under the following terms:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/ >.
Closes #130
Signed-off-by: Robert Jordens <jordens@gmail.com>
2015-09-06 16:08:57 -06:00
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