Commit Graph

2723 Commits

Author SHA1 Message Date
Sebastien Bourdeauducq 478972a001 coredevice: compare gateware and software versions on release numbers only. Closes #738 2017-06-05 13:54:41 +08:00
Sebastien Bourdeauducq 45f62d4e2d update versioneer 2017-06-05 13:18:12 +08:00
Sebastien Bourdeauducq a1cf632d14 remove pdq2_client 2017-05-22 19:19:21 +08:00
whitequark c78aa86e72 compiler: remove dead code. 2017-04-22 15:31:32 +08:00
whitequark 032f28863f compiler: reject reachable implicit return if not returning TNone.
Fixes #718.
2017-04-22 15:31:22 +08:00
whitequark c33f9637c1 compiler: in codegen for delay(), round fp instead of truncating.
Consider delay(8*us). It results in the following computation...
  >>> 8*1e-06/1e-09
  7999.999999999999
with the result promptly getting truncated to 7999.

Fixes #706.
2017-04-22 15:31:13 +08:00
whitequark be2683e097 compiler: fix monomorphization of coerced integer literals.
Fixes #703.
2017-04-12 13:18:24 +08:00
whitequark 90e2e22765 artiq_compile: make print() write to core log, not an invalid op.
Fixes #710.
2017-04-12 00:35:01 +08:00
Sebastien Bourdeauducq 49baba26e3 rtio: fix indentation 2017-04-06 12:41:08 +08:00
Sebastien Bourdeauducq 0a6dd963cb rtio: add a missing case for collision reporting 2017-04-06 12:41:02 +08:00
Sébastien Bourdeauducq 62068da232 scan: fix RandomScan seeding 2017-03-31 17:29:37 +08:00
Chris Ballance e8c5cb55cb language: fix PYONValue list defaults (fixes #682) 2017-03-29 21:59:48 +08:00
Chris Ballance 483a897db4 monkey_patches: fix 3af29f7 2017-03-29 09:24:41 +08:00
whitequark 37c9b97bc4 compiler.types: add missing TTuple.__hash__ implementation. 2017-03-03 17:40:15 +08:00
whitequark 90aeb76a2c transforms.inferencer: do not unnecessarily mutate typedtree.
This caused the hash to change after every iteration of inference,
if the result of any coercion was an integer of indefinite width.
2017-03-03 11:02:16 +08:00
whitequark 007ae00459 compiler.embedding: fix an overly lax hasher. 2017-03-03 11:02:16 +08:00
whitequark fd5cdb7d1e compiler.transforms: implement a typedtree printer. 2017-03-03 11:02:16 +08:00
whitequark d4673d5b17 compiler.embedding: use attribute count in fixpoint condition.
Before this commit, we had a hack where inferencing would run
one more time, in case we can still infer more attributes even
after all the type information is there. This doesn't work
if *that* round of inferencing brings even more code, e.g.
this is easy to trigger with context managers.
2017-03-01 11:51:25 +08:00
Robert Jördens 72bf39f593 monkey_patches: cleanup 2017-02-28 21:42:25 +08:00
Chris Ballance 349774e65e monkey-patch Python 3.5.3 asyncio.base_events._ipaddr_info
this fixes #506 for py3.5.3
2017-02-28 21:42:21 +08:00
Sebastien Bourdeauducq c777ae8ae9 protocols: increase asyncio line limit. Closes #671 2017-02-17 20:46:38 +08:00
Robert Jördens abb5b8aba5 artiq_flash: fix scripts_path 2017-02-01 09:04:57 +08:00
whitequark 31dd99e8bd compiler: the len builtin is not polymorphic, coerce the result.
Fixes #659.
2017-02-01 08:23:30 +08:00
whitequark 7516e6d800 Fix 2f37b1d. 2017-02-01 08:23:24 +08:00
whitequark 2dc8d417ca compiler: support methods defined on singleton instances.
Fixes #638.
2017-02-01 08:23:16 +08:00
Robert Jördens 1845a134e5 Relicense ARTIQ as LGPLv3+ (closes #570)
Kelly Stevens: 1481043941095.63542@gtri.gatech.edu
David Nadlinger: E7C03799-5D45-4C03-9DF9-029FE2B4F12B@klickverbot.at
whitequark: 69d1ca29d5ab03fbcfb446d65cbe1150@mail.whitequark.org
Felix Held: 9145cc19-2319-3516-b2a9-dde60aef11f7@felixheld.de
Robert Jordens: CANb+zoFgXVYgCji_vXPauK-fnnYKpm_QioMnvmh=hvLFWQONWA@mail.gmail.com
Daniel Slichter: BL2PR09MB1010FE3D3A325E889AD70A2591820@BL2PR09MB1010.namprd09.prod.outlook.com
Joe Britton: CAE2_b1V60_6PJ3VYx_s-p5XVfKJUx8kbQA7VwD3MdcmHdzROGw@mail.gmail.com
Florent Kermarrec: CA+96J6JHM8yZM=RYaporU36NdyOTL3BeSuO9oM8TTtdnXiJ5jw@mail.gmail.com
Zach Smith: CAAJ=EH+OzDs_rBJ_zTjbOZmumEZWONX2MSFUasJwf8josJGdkw@mail.gmail.com
David Leibrandt: CY1PR09MB0921C628EC76CDFC4CC7F64F95820@CY1PR09MB0921.namprd09.prod.outlook.com
Raghavendra Srinivas: DM5PR09MB1531C49EEE1774DF2BA80616F8850@DM5PR09MB1531.namprd09.prod.outlook.com
Yann Sionneau: CACi+aWbdY48D9CgKtXdtVsdX4NS1JwVN4v-PCC17F_rPKSt4XQ@mail.gmail.com
Sébastien Bourdeauducq: c3f235dc-e9c5-7f7a-10f2-bb4e4f85e7f5@m-labs.hk
2017-01-27 11:20:57 +01:00
Robert Jördens d16f5ce540 artiq_flash: make scripts_path a function (for doc generating) 2017-01-26 18:21:43 +01:00
Robert Jördens 660b067708 spi: fix xfers with full data_width (closes #615)
misoc 15000af43611bbe8be13cb2b016e408f043202cd
2017-01-03 19:50:15 +01:00
Sebastien Bourdeauducq 2962c95148 set asyncio loop earlier in controllers (#627) 2016-12-12 11:38:52 +08:00
Sebastien Bourdeauducq b823e916f0 Revert "pc_rpc: use ProactorEventLoop on Windows (#627)"
This reverts commit 7d4297b9bb.
2016-12-12 11:38:52 +08:00
Sebastien Bourdeauducq 072e7f6628 pc_rpc: use ProactorEventLoop on Windows (#627) 2016-11-24 10:18:27 +08:00
whitequark ebae6d248f compiler: unbreak casts to int32/int64. 2016-11-21 14:22:35 +00:00
whitequark ebb3205dff analyses.constness: fix false positive on x[...]. 2016-11-21 14:22:34 +00:00
whitequark fd1d77767e inferencer: significantly improve the op-assignment diagnostic.
Before this commit, it displayed incorrect output if an error
appeared on 2nd run and beyond, and displayed messages for trying
to do "num32 -= num64" that made very little sense.
2016-11-21 14:22:32 +00:00
whitequark 372e8f9b2b llvm_ir_generator: handle no-op coercions. 2016-11-21 10:58:42 +08:00
Sebastien Bourdeauducq 0da2202179 moninj: add min declaration 2016-11-21 00:06:35 +08:00
whitequark ec645d3589 coredevice.dds: work around the round(numpy.float64()) snafu. 2016-11-20 21:54:21 +08:00
whitequark 5119fa394d coredevice.dds: update from obsolete int(width=) syntax (fixes #621). 2016-11-20 21:54:20 +08:00
David Leibrandt 99104499f9 gateware: increase RTIO FIFO sizes for NIST_CLOCK. Closes #623 2016-11-20 15:22:08 +08:00
Sebastien Bourdeauducq 2513511775 gui: 2.0 -> 2 in logo 2016-11-20 15:14:43 +08:00
whitequark b85ab712a9 artiq_compile: actually disable attribute writeback.
I wrote both halves of this condition but forgot to hook
them together.

Fixes #586.
2016-11-10 01:04:48 +00:00
David Nadlinger f368e1b228 compiler: Clarify recv_rpc value names and documentation [nfc]
Previously, the phi emitted for the pointer parameter to recv_rpc was –
rather confusingly – called "size", and the pseudo-code in the comment
had bit-rotted.

Signed-off-by: David Nadlinger <code@klickverbot.at>
2016-11-07 22:47:18 +08:00
David Nadlinger 4c2e921270 compiler: Fix break/continue targets in loop else blocks
Previously, they would still target the respective labels in the
just-exited loop.

Signed-off-by: David Nadlinger <code@klickverbot.at>
2016-11-05 17:27:36 +08:00
David Nadlinger d5974b3af5 runtime/moninj: Don't try to pack more than 64 channels
Since the status words are only 8 bytes wide, left-shifting
by more than that is undefined behaviour (although it seems like
we got lucky and Clang dind't decide to optimise the whole
implementation away).

See GitHub #601.

Signed-off-by: David Nadlinger <code@klickverbot.at>
2016-11-05 00:29:11 +08:00
David Nadlinger 4e03f7ab0a gui: Don't show more than the 64 working channels in moninj
Previously, you could irreversibly set the override since
the gateware part would accept commands for the higher channels,
but of coure not report back the results.

See GitHub #601.

Signed-off-by: David Nadlinger <code@klickverbot.at>
2016-11-05 00:29:11 +08:00
Sebastien Bourdeauducq 67ce341adf master: keep dataset manager consistent when set_dataset is called with contradictory attributes 2016-10-18 17:11:29 +08:00
Sebastien Bourdeauducq 363a7ebe3a master: ensure same dataset is in broadcast and local when mutating 2016-10-18 17:11:29 +08:00
Sebastien Bourdeauducq 5ecfa8197f doc: clarify usage of pause/check_pause, closes #571 2016-10-17 20:08:43 +08:00
Sebastien Bourdeauducq 115204f2f4 dashboard/datasets: use scientific spinbox and increase number of decimals, closes #572 2016-10-17 20:08:39 +08:00
Sebastien Bourdeauducq 03c26f9c96 novatech409b: fix get_status 2016-09-23 11:03:37 +08:00