artiq/artiq
David Nadlinger 1f40f3ce15 compiler: Map host numpy.bool_ values to TBool
Since we don't implement any integer-like operations for TBool
(addition, bitwise not, etc.), TBool is currently neither
strictly equivalent to builtin bool nor numpy.bool_, but through
very obvious compiler errors (operation not supported) rather than
silently different runtime behaviour.

Just mapping both to TBool thus is a huge improvement over the
current behaviour (where numpy.False_ is a true-like object). In
the future, we could still implement more operations for TBool,
presumably following numpy.bool_ rather than the builtin type,
just like builtin integers get translated to the numpy-like
TInt{32,64}.

GitHub: Fixes #1275.
2021-03-20 00:54:41 +00:00
..
applets gui: quamash -> qasync 2020-12-12 21:59:25 +08:00
browser artiq_browser: update h5py api call 2020-12-17 14:23:16 +08:00
compiler compiler: Map host numpy.bool_ values to TBool 2021-03-20 00:54:41 +00:00
coredevice coredevice: Fix RPC typing for bool lists/arrays 2021-03-20 00:03:10 +00:00
dashboard allow dashboard to close if no connection can be made to moninj 2020-12-04 23:00:23 +08:00
examples metlino_sayma_ttl: Fix RTIO frequency & demo code (#1516) 2020-09-03 15:08:31 +08:00
firmware increase memory allocated to comms CPU 2021-02-21 19:06:12 +08:00
frontend sinara_tester/mirny: remove hw_rev checking fixup code 2021-01-29 18:47:40 +01:00
gateware increase memory allocated to comms CPU 2021-02-21 19:06:12 +08:00
gui update major version 2021-02-17 16:18:05 +08:00
language replaced deprecated inspect.getargspec() with inspect.getfullargspec() 2021-02-28 14:25:05 +08:00
master master: refactor experiments enumeration, use tools.get_experiment 2021-02-13 10:06:12 +08:00
sim ttl: Add target RTIO time argument to timestamp/count functions 2018-11-03 20:33:19 +08:00
test compiler: Map host numpy.bool_ values to TBool 2021-03-20 00:54:41 +00: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 get_experiment() is able to get nested experiment classes using dots in class names. 2021-02-28 14:26:44 +08:00