artiq/artiq
David Nadlinger 4f311e7448 compiler: Raise exception on failed assert()s rather than panic
This allows assert() to be used on Zynq, where abort() is not
currently implemented for kernels. Furthermore, this is arguably
the more natural implementation of assertions on all kernel targets
(i.e. where embedding into host Python is used), as it matches host
Python behavior, and the exception information actually makes it to
the user rather than leading to a ConnectionClosed error.

Since this does not implement printing of the subexpressions, I
left the old print+abort implementation as default for the time
being.

The lit/integration/instance.py diff isn't just a spurious change;
the exception-based assert implementation exposes a limitation in
the existing closure lifetime tracking algorithm (which is not
supposed to be what is tested there).

GitHub: Fixes #1539.
2020-11-10 00:51:24 +01:00
..
applets use sipyco (#585) 2019-11-10 15:55:17 +08:00
browser use sipyco (#585) 2019-11-10 15:55:17 +08:00
compiler compiler: Raise exception on failed assert()s rather than panic 2020-11-10 00:51:24 +01:00
coredevice compiler: Raise exception on failed assert()s rather than panic 2020-11-10 00:51:24 +01:00
dashboard dashboard: style 2020-06-26 10:12:03 +08:00
examples metlino_sayma_ttl: Fix RTIO frequency & demo code (#1516) 2020-09-03 15:08:31 +08:00
firmware wrpll: separate collector reset 2020-11-09 17:57:13 +08:00
frontend Merge pull request #1533 from m-labs/phaser 2020-10-19 09:30:12 +02:00
gateware wrpll: separate collector reset 2020-11-09 17:57:13 +08:00
gui gui: unbreak background 2020-08-14 13:14:45 +08:00
language language: Export TArray 2020-08-09 03:54:41 +01:00
master master/scheduler: Fix priority/due date precedence order when waiting to prepare 2020-06-19 23:45:52 +01:00
sim ttl: Add target RTIO time argument to timestamp/count functions 2018-11-03 20:33:19 +08:00
test compiler: Raise exception on failed assert()s rather than panic 2020-11-10 00:51:24 +01:00
wavesynth wavesynth: silence is a channel property (closes #348) 2016-04-07 21:51:29 +08:00
__init__.py simplify versioneer 2020-07-30 00:54:07 +08:00
_version.py simplify versioneer 2020-07-30 00:54:07 +08:00
appdirs.py add appdirs 2016-07-18 16:40:18 +02:00
build_soc.py build_soc: remove assertion that was used for test runs 2020-09-03 20:24:18 +08:00
experiment.py artiq.experiment: merge language and coredevice namespaces 2016-01-25 17:24:00 -07:00
remoting.py artiq_flash: added option of specifying another username when connecting through SSH. (#1429) 2020-02-19 19:44:11 +08:00
tools.py split out artiq-comtools 2019-11-14 15:21:51 +08:00