whitequark
dbd1cb9e04
firmware: fix another TOCTTOU race in sync/async RPC code.
2018-11-13 01:00:22 +08:00
whitequark
ae88c1328b
firmware: fix TOCTTOU race in sync/async RPC code.
...
Before this commit, the main loop in session code was laid like:
1. process_kern_queued_rpc
2. process_host_message
3. process_kern_message
If a host message (such as an RPC reply) caused the kernel to exit,
then any async RPCs would not complete, since RunFinished immediately
shuts down the kernel.
Fix this by reordering 1 and 2.
2018-11-13 01:00:18 +08:00
Sebastien Bourdeauducq
ad07274a1b
Revert "relax test_pulse_rate"
...
This reverts commit eadb39c283
.
Seems the performance loss was caused by conda installing the wrong llvmlite-artiq,
which is now fixed.
2018-11-03 20:15:12 +08:00
Sebastien Bourdeauducq
f96084e88d
conda: unbreak llvmlite-artiq dependency
...
Go figure why conda didn't error out before 3.7 was tagged...
2018-11-02 19:29:47 +08:00
Sebastien Bourdeauducq
ed9815da92
test: relax network transfer rates
2018-11-02 18:25:48 +08:00
Sebastien Bourdeauducq
eadb39c283
relax test_pulse_rate
...
Inexplicably started failing after 9afe84ab79
.
2018-11-02 14:41:29 +08:00
Sebastien Bourdeauducq
5a3d12f07b
vivado timing test
2018-10-22 11:34:16 +08:00
Sebastien Bourdeauducq
8c891c43a8
RELEASE_NOTES: 3.7
2018-10-21 15:21:32 +08:00
Sebastien Bourdeauducq
eb6bc995cc
conda: bump migen
...
BusSychronizer fix
2018-10-21 14:31:38 +08:00
Marius Weber
c0d89db677
Tpz fixes ( #1178 )
...
* flake8
* fix TPZ constructor after move to asyncio
* Tcube fix docummentation in set_channel_enable_state
2018-10-20 20:49:44 +08:00
Sebastien Bourdeauducq
6d7790844d
typo ( #1179 )
2018-10-20 20:40:29 +08:00
Robert Jördens
9afe84ab79
CONTRIBUTING: correct default licensing
2018-10-17 09:54:53 +08:00
whitequark
dbf4e78087
Fix missing import.
2018-09-20 11:03:18 +00:00
whitequark
da01a03a6e
Fix b91822ff
.
2018-09-20 10:01:32 +00:00
whitequark
98e61e4d4d
firmware: update smoltcp.
...
This adds TCP window scaling and ARP cache GC support.
2018-09-20 09:50:29 +00:00
whitequark
b91822ffe6
firmware: migrate to Rust 1.28.0.
...
See 2648b1b7
and bdd18de2
.
2018-09-20 09:45:19 +00:00
Sebastien Bourdeauducq
fb1dfcf372
firmware: Use larger ARP cache
...
See b482f5feae
2018-09-19 22:10:16 +08:00
Sebastien Bourdeauducq
c83e22c11c
test: add test for short RTIO input gate
...
Based on https://github.com/m-labs/artiq/pull/1136
See also https://github.com/m-labs/artiq/issues/1137
2018-08-28 15:44:54 +08:00
Sebastien Bourdeauducq
12a1a8ee97
conda: work around 'received dictionary as spec' conda bug
2018-08-19 00:15:12 +08:00
whitequark
77d511dc37
compiler: skip functional values in attribute writeback.
...
Fixes #1088 .
2018-08-10 23:27:41 +08:00
Robert Jördens
df2322422d
browser: handle windows file urls for feeding h5py
...
close #1014
2018-08-07 12:58:21 +02:00
whitequark
0982c965b1
compiler: handle async RPC as last statement in try block.
...
Fixes #1107 .
2018-08-07 07:08:02 +00:00
whitequark
10d0c6df00
rpc_proto: serialize keywords correctly.
...
Fixes #1109 .
2018-08-07 06:48:34 +00:00
whitequark
e8ff55791c
Fix tests after a74958f0
.
2018-08-07 06:07:22 +00:00
whitequark
f10980de8d
ksupport: raise RuntimeError on reraise with no inflight exception.
...
Fixes #1123 .
2018-08-07 06:01:53 +00:00
Sebastien Bourdeauducq
c659ae0681
firmware: actually compact in config::compact().
2018-08-02 11:45:30 +08:00
David Nadlinger
a6b61f0c1d
pyon: Correctly deserialize bare NaNs
...
This also fixes (non-numpy) lists containing NaNs.
Previously, accidentally storing a NaN in a dataset would
bring down large parts of the system.
2018-07-30 18:26:04 +08:00
Sebastien Bourdeauducq
17665c7271
test_rtio: relax ClockGeneratorLoopback performance requirements
2018-07-09 18:11:31 +08:00
Sebastien Bourdeauducq
8210ee61cf
use tokenize.open() to open Python source files
...
Fixes encoding issues especially with device databases modified in obscure editors.
2018-07-07 17:11:23 +08:00
whitequark
3e7cdaa5d7
runtime: fix size values for bytes and bytearray RPCs.
...
Fixes #1076 .
2018-06-21 00:52:15 +00:00
whitequark
cccadd0a55
compiler: support conversion of list to bytearray and bytes.
...
Fixes #1077 .
2018-06-21 00:41:55 +00:00
Sebastien Bourdeauducq
e8092f6f11
conda: use h5py 2.8
...
For some reason, conda installs 2.7 by default, which causes messages such as:
/home/sb/miniconda3/envs/py35/lib/python3.5/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
2018-06-11 10:15:27 +08:00
whitequark
408734b776
artiq_rpctool: use inspect.formatargspec instead of a NIH formatter.
...
Fixes #1029 .
2018-06-11 09:45:10 +08:00
whitequark
36204a97d8
compiler: don't crash when quoting builtin functions.
...
Fixes #1051 .
2018-06-06 11:43:04 +08:00
Sebastien Bourdeauducq
1afcf8b459
monkey_patches: work around Python issue 33678. Closes #1016
2018-05-29 18:07:49 +08:00
whitequark
66a7e09937
conda: fix installation path in artiq-board.
2018-05-26 11:37:41 +08:00
whitequark
086b5ff416
conda: add ignore_prefix_files in the outputs section too.
2018-05-26 11:36:24 +08:00
whitequark
2f4064ef0c
conda: override --install-lib, not --prefix.
2018-05-26 11:34:35 +08:00
whitequark
e7b3876eb6
Fix non-exception-safe finally: handlers.
...
Fixes #1013 .
2018-05-25 14:07:56 +08:00
whitequark
5f3cb1263c
conda: remove lib/python3.5 from artiq package paths as well.
...
Following c9287cfc
.
2018-05-25 11:31:51 +08:00
whitequark
d0e5aec862
compiler: handle direct calls to class methods.
...
Fixes #1005 .
2018-05-25 10:07:50 +08:00
whitequark
21406a585e
conda: put `noarch: python` on correct artiq-board package.
...
Fixes #989 .
2018-05-25 10:03:33 +08:00
whitequark
02f6727fa2
language: scan functions are not supported on core device.
...
Closes #1009 .
2018-05-23 10:46:29 +08:00
Sebastien Bourdeauducq
5667cef667
manual: add warning about developing section being for developers
2018-05-18 14:19:13 +08:00
Sebastien Bourdeauducq
1c4c5c9d96
coredevice/dds: fix bus_channel doc
2018-05-13 23:41:19 +08:00
Sebastien Bourdeauducq
bb91582acc
coredevice/dds: fix init_duration_mu and init_sync_duration_mu
2018-05-13 23:39:44 +08:00
whitequark
9c6978be84
Update LLVM to 6.0.0 and Rust to 1.25.0.
2018-05-06 15:05:00 +00:00
whitequark
9589decd54
Update log_buffer.
...
Closes #986 .
2018-05-06 14:30:54 +00:00
whitequark
a4fd9ad3e1
Unbreak 9dc7efef
.
2018-05-06 11:14:44 +08:00
whitequark
88134db35a
compiler: transparently handle Windows newlines in RunTool.
2018-05-06 11:14:37 +08:00