Commit Graph

2836 Commits

Author SHA1 Message Date
whitequark 0e2cd38135 Rust: set the SOF_KEEPALIVE flag on session sockets. 2016-10-04 06:42:09 +00:00
whitequark 2b3bc30396 Rust: implement startup kernels. 2016-10-04 06:08:08 +00:00
whitequark 0cd87af386 Rust: don't crash kernel CPU when no flash kernel is present. 2016-10-04 05:27:54 +00:00
whitequark 6bbaff81bf Rust: implement idle kernels. 2016-10-04 05:20:56 +00:00
whitequark 398b709e25 Rust: use try_borrow where applicable. 2016-10-04 03:26:53 +00:00
whitequark 30e997f045 Rust: implement idle kernels and session takeover. 2016-10-02 04:37:24 +00:00
whitequark 8bced9dcb5 Rust: implement cache. 2016-10-01 18:24:53 +00:00
whitequark d825393e81 Rust: implement watchdogs. 2016-10-01 16:26:57 +00:00
whitequark 5701b2095b Rust: implement all messages used in the kernel interface. 2016-10-01 16:10:09 +00:00
whitequark ab3bd67412 Rust: style (NFC). 2016-10-01 16:10:09 +00:00
whitequark 999290fe52 runtime: link ksupport with libm, not runtime.
We need libm for the %g format specifier.
2016-10-01 16:10:09 +00:00
whitequark d3dcb4b8a2 runtime: remove useless copy of flush_cpu_dcache().
ksupport used to not link to libbase, I think.
2016-10-01 16:10:09 +00:00
whitequark b3b1ea71c5 Rust: implement basic communication with kernel CPU. 2016-10-01 04:20:27 +00:00
whitequark 1cbb187136 runtime: eliminate va_list from kernel interface. 2016-09-30 03:07:27 +00:00
whitequark 7cfa667d98 runtime: eliminate struct dyld_info from kernel interface. 2016-09-30 03:03:35 +00:00
whitequark c6a57d2043 Rust: port mailbox routines. 2016-09-30 00:15:20 +00:00
whitequark 55b2535477 Rust: print git commit during startup. 2016-09-29 22:04:52 +00:00
whitequark 9d00023401 Rust: move a few things around (NFC). 2016-09-29 20:56:35 +00:00
whitequark 9c18f1b555 Rust: port clock, rtio_crg routines. 2016-09-29 20:42:40 +00:00
whitequark 83940ae4a6 Rust: add support for artiq_coreconfig. 2016-09-29 18:54:08 +00:00
whitequark 1e392cca64 runtime: remove "test mode" functionality. 2016-09-29 14:48:26 +00:00
whitequark 3263def5c8 Rust: use generated CSR functions. 2016-09-29 14:04:42 +00:00
whitequark fdcb27ccff Rust: add support for artiq_corelog. 2016-09-28 18:25:25 +00:00
whitequark b14c19a886 Rust: add skeleton session protocol implementation.
Only ident requests are supported right now.
2016-09-27 13:37:17 +00:00
whitequark 89d4621c09 Rust: fix TcpStream::read. 2016-09-27 13:37:17 +00:00
whitequark b8137103c3 Rust: fix prelude. 2016-09-27 13:37:17 +00:00
whitequark 9562d8d1df Rust: liblwip: call tcp_recved where appropriate. 2016-09-27 13:37:17 +00:00
Sebastien Bourdeauducq 8280e72e90 gateware: use new misoc CSR mapping API 2016-09-24 20:48:37 +08:00
whitequark 956f64906d Rust: fix incorrect use of lwip API. 2016-09-23 05:20:15 +00:00
whitequark ce05eee80c Rust: style fix. 2016-09-23 05:20:04 +00:00
Sebastien Bourdeauducq fac0c68cd1 novatech409b: fix get_status 2016-09-23 11:03:50 +08:00
Sebastien Bourdeauducq 2d6171e8c4 dashboard: make state restore failure on experiment opening non-fatal 2016-09-21 19:23:06 +08:00
Robert Jördens 2bb90a4449 pipistrello: shrink a few more fifos 2016-09-21 02:29:05 +02:00
whitequark 9a24a81f14 Rust: update network stack to provide blocking impls. 2016-09-20 14:03:31 +00:00
whitequark dec394bc13 Rust: port std::error into libstd_artiq.
See https://github.com/jethrogb/rust-core_io/issues/3.
2016-09-20 14:02:53 +00:00
whitequark 1c7e1dd645 Rust: import core_io crate into libstd_artiq.
Unfortunately the crate does not work out of the box with custom
Rust builds, and forking it makes little sense over just embedding
it here. See https://github.com/jethrogb/rust-core_io/issues/2.
2016-09-20 08:28:00 +00:00
whitequark ed60ba8c4c compiler: skip kernel_invariant linting for exception types. 2016-09-14 23:34:57 +00:00
whitequark feeb089505 compiler: warn about unused kernel_invariant entries.
Fixes #543.
2016-09-14 23:28:55 +00:00
whitequark 494cfca41c coreanalyzer: fix rtio_log message extraction.
Fixes #550.
2016-09-14 10:18:00 +00:00
Sebastien Bourdeauducq c7c8ad126f pc_rpc: raise AttributeError immediately for nonexistent RPC methods. Closes #534 2016-09-14 11:22:07 +08:00
Sebastien Bourdeauducq f010a74479 dashboard: remember experiment editor scroll positions 2016-09-14 10:53:24 +08:00
Sebastien Bourdeauducq 55363e2ff9 dashboard: save/restore MDI window states when they are closed. Closes #559 2016-09-14 10:53:24 +08:00
Sebastien Bourdeauducq 89417a47b2 gui: use bare QSpinBox for integer NumberEntries. Closes #558 2016-09-14 10:53:24 +08:00
whitequark b100770e05 runtime: expose strlen (implicitly required for comparing strings).
Fixes #557.
2016-09-10 00:13:44 +00:00
Sebastien Bourdeauducq 82fbd3e9c9 doc: CCBs, applet setup from experiment 2016-09-09 23:25:29 +08:00
Sebastien Bourdeauducq 387688354c master: optimize repository scan, closes #546 2016-09-09 19:19:01 +08:00
whitequark 25ec99930c Also serialize numpy.int{32,64} like int in RPC return values.
Fixes #555.
2016-09-09 08:52:18 +00:00
Sebastien Bourdeauducq 811f123a17 applets: add disable_applet_group 2016-09-09 13:12:10 +08:00
Sebastien Bourdeauducq 769b1e2393 applets: fix ccb group creation 2016-09-09 13:08:30 +08:00
Sebastien Bourdeauducq 4bdbc5b259 applets: use a different workaround to disable editing
True to itself, Qt did not miss the opportunity to trash widgets inside
QTreeWidgetItems when they are moved by drag-and-drop. Problem known for
more than 6 years and still not fixed as of Qt 5.7.
2016-09-09 12:55:01 +08:00
Sebastien Bourdeauducq 6144839beb applets: support group-level CCB policies 2016-09-09 11:38:55 +08:00
Sebastien Bourdeauducq 615807afb4 applets: fix indices 2016-09-09 11:16:43 +08:00
Sebastien Bourdeauducq ebb0ba17f5 applets: separate create/create+enable CCB policies 2016-09-09 10:02:32 +08:00
Sebastien Bourdeauducq ff20ed2710 applets: two column table, remove spurious Qt text editors 2016-09-09 09:07:31 +08:00
Sebastien Bourdeauducq 6aaf6c8789 language/environment: only call prepare automatically if it exists 2016-09-09 09:06:59 +08:00
Sebastien Bourdeauducq 7efd990541 language: set NoScan default repetitions to 1 2016-09-08 11:03:55 +08:00
raghu 9b937e08f4 added repetitions for no scan, repetitions set to one when disable other scans selected. Closes #532 2016-09-08 11:03:00 +08:00
Sebastien Bourdeauducq 5fbcdacec7 environment: call prepare for children by default, closes #545 2016-09-07 20:20:20 +08:00
Sebastien Bourdeauducq 1cb8f642b4 test: level-based TTL APIs (#218) 2016-09-07 17:37:49 +08:00
Sebastien Bourdeauducq 2b282456dc coredevice/ttl: fix imports 2016-09-07 17:37:14 +08:00
Sebastien Bourdeauducq 486fe97649 ttl: add level-based APIs (#218) 2016-09-07 16:55:21 +08:00
Sebastien Bourdeauducq a7dd356d30 rtio/phy/ttl: support 'set sensitivity and sample' command (#218) 2016-09-07 15:42:09 +08:00
whitequark 269cedd782 Rust: integrate lwip with the I/O scheduler. 2016-09-06 22:53:02 +00:00
Sebastien Bourdeauducq b7b6e7b9db examples: code applet 2016-09-07 00:56:39 +08:00
Sebastien Bourdeauducq b982832ddc gui/applets: support passing command line arguments to code applets 2016-09-07 00:56:39 +08:00
whitequark bf863053b3 Rust: implement bindings for lwip TCP/UDP stacks. 2016-09-06 16:49:49 +00:00
Sebastien Bourdeauducq 5d293d14c6 gui/applets: fix teardown of half-initialized applets 2016-09-06 23:06:31 +08:00
Sebastien Bourdeauducq f6b5d6d20f gui/applets: fix handling of process creation failure 2016-09-06 23:01:04 +08:00
Sebastien Bourdeauducq 996dfcafc6 dashboard: fix 'disable other scans' 2016-09-06 22:50:12 +08:00
Sebastien Bourdeauducq 56e3c80623 dashboard: support for code applets 2016-09-06 22:38:34 +08:00
Sebastien Bourdeauducq deb51eaaa1 gui: update version number in logo 2016-09-05 23:04:44 +08:00
Sebastien Bourdeauducq 524ba803e1 artiq_client: add show ccb 2016-09-05 19:07:35 +08:00
Sebastien Bourdeauducq 71eb65c527 artiq_client: fix 'show log', closes #552 2016-09-05 15:37:35 +08:00
Sebastien Bourdeauducq e45c089428 master, dashboard: support applet requests from experiments 2016-09-05 00:53:44 +08:00
Sebastien Bourdeauducq 549e09e06b applets: simplify command lines 2016-09-04 23:32:09 +08:00
Sebastien Bourdeauducq 8f6c4451ac gui/applets: support groups, creating and deleting applet groups, renaming groups, moving applets from one group to another and reordering applets and groups via drag-and-drop 2016-09-04 23:09:26 +08:00
Sebastien Bourdeauducq c414026b29 import_cache: make sure last line ends with \n as linecache does. Closes #547 2016-09-02 11:01:28 +08:00
Sebastien Bourdeauducq dbc08bde8a gui: fix layout and scan disable bugs with argument recomputation 2016-09-02 10:50:25 +08:00
Sebastien Bourdeauducq ef2195fe68 dashboard: fix argument recomputation for experiments outside repository. Closes #548 2016-09-02 08:30:42 +08:00
whitequark 49ba8aec18 Rust: implement a basic scheduler. 2016-08-30 11:20:04 +00:00
Robert Jördens 051e6e0447 spi: use misoc SPIMachine, closes #314 2016-08-26 14:08:12 +02:00
whitequark 58efaad5c6 Merge branch 'rust' 2016-08-17 11:49:55 +00:00
whitequark f26f446724 artiq_run: unbreak 2016-08-17 10:20:04 +00:00
whitequark 4c6cad2977 Add a Rust component in the runtime. 2016-08-17 09:07:19 +00:00
Sebastien Bourdeauducq 538d3e8a85 runtime/dds: disable dds_init_sync completely for non-9914 2016-08-17 00:23:58 +08:00
Sebastien Bourdeauducq 310acca372 dds: fix docstring, closes #540 2016-08-16 14:55:30 +08:00
whitequark 283fc904ec runtime: follow rename of compiler_rt to compiler-rt in misoc. 2016-08-16 06:58:08 +00:00
Sebastien Bourdeauducq 4e3bb01e7e gui/log: support copying entries to clipboard. Closes #280 2016-08-15 20:19:25 +08:00
Sebastien Bourdeauducq 23b704802d dds: make init_sync accessible for AD9914 only 2016-08-15 17:45:18 +08:00
raghu c4d17138a1 added sync for AD9914 2016-08-15 17:44:27 +08:00
Sebastien Bourdeauducq b7151a253f gui: improve search of hierarchical datasets. Closes #258 2016-08-14 18:33:24 +08:00
Robert Jördens 17582047cb ScientificSpinBox: fix suffix/prefix 2016-08-14 11:28:30 +02:00
whitequark 5f5975844a Revert "Update for LLVM 3.9."
This reverts commit 3aa7b99b8f.
2016-08-13 04:43:19 +00:00
whitequark 3aa7b99b8f Update for LLVM 3.9. 2016-08-13 03:28:04 +00:00
Robert Jördens 9775faa322 gui: use ScientificSpinBox for NoScan and NumberValue (#460) 2016-08-11 17:02:21 +02:00
Robert Jördens 941f6fc859 gui: auto-set ScientificSpinBox relative_step and precision in ScanWidget 2016-08-11 17:01:38 +02:00
Robert Jördens 6fe23b8899 gui: new ScientificSpinBox (from 09f9293) closes #460 2016-08-11 16:51:56 +02:00
Robert Jördens 1c8202e207 gui: cleanup compact_exponential, 15 digits 2016-08-11 14:18:27 +02:00
Robert Jördens 586f071756 lda: fix windows path 2016-08-11 14:13:20 +02:00
whitequark 1a518ea7eb compiler.embedding: implement string concatenation.
Fixes #526.
2016-08-08 04:05:52 +00:00
whitequark 5a2306ae5a compiler.embedding: implement type annotations for function arguments.
Fixes #318.
2016-08-08 03:28:25 +00:00
Sebastien Bourdeauducq 8a243d322f gui/applets: hack completer model to block noxious dataChanged signal. Closes #464 2016-08-07 18:57:08 +08:00
Sebastien Bourdeauducq 84f4725015 cache source on import of modules that may contain kernels. Closes #416 2016-08-06 12:01:49 +08:00
Sebastien Bourdeauducq d51b27e0aa tools: cleanup artiq_version 2016-08-04 19:42:13 +08:00
Sebastien Bourdeauducq f64a1f566d tools: remove uneeded checkcache 2016-08-04 19:42:04 +08:00
Sebastien Bourdeauducq 591e44b227 gui/applets: capture applet stdout/stderr and redirect to log. Closes #472 2016-08-04 17:53:42 +08:00
Robert Jördens f183f87840 gui.entries: avoid intermediate value feedback, closes #533 2016-08-04 11:36:19 +02:00
whitequark 8a40871f30 protocols.pc_rpc: exclude kernel_invariants from proxying.
Fixes #531.
2016-08-03 04:59:17 +00:00
whitequark 21bc285604 transforms.llvm_ir_generator: skip RPC values for attribute writeback. 2016-08-03 04:59:14 +00:00
Sebastien Bourdeauducq 89df048efb analyzer: use picosecond resolution in VCD output. Closes #528 2016-08-03 10:57:15 +08:00
Kelly Stevens 4077613020 doc: re-formatting a directory path in lda driver comments so it will display correctly in the sphinx documentation 2016-08-01 23:34:49 +02:00
Robert Jördens e7d6ad2595 browser: cleanup dir/file restore, closes #527 2016-07-31 22:56:45 +02:00
Robert Jördens 92f3757c74 spi: give wb-reads a register level 2016-07-31 14:53:19 +02:00
Sebastien Bourdeauducq b5e52e9870 runtime: fix unused variable warning 2016-07-28 09:01:21 +08:00
Sebastien Bourdeauducq 92338026f6 runtime: RTIO_DDS_COUNT -> CONFIG_RTIO_DDS_COUNT 2016-07-27 21:16:19 +08:00
Sebastien Bourdeauducq 78366ed9db runtime: add missing include 2016-07-27 20:22:59 +08:00
Sebastien Bourdeauducq f1d8848bb1 runtime: support boards without DDS 2016-07-27 19:20:49 +08:00
Sebastien Bourdeauducq 8fab789e39 runtime: support RTIO configurations without address (e.g. all simple TTL out) 2016-07-27 19:20:13 +08:00
Sebastien Bourdeauducq 7928ee4a6e runtime: support boards without RTIO CRG 2016-07-27 19:18:14 +08:00
Sebastien Bourdeauducq a89f96e24b runtime: support boards without LEDS 2016-07-27 19:16:55 +08:00
Sebastien Bourdeauducq 5fc3a52189 artiq_flash: expose scripts_path 2016-07-25 10:05:10 +08:00
Robert Jördens 454b48df97 pipistrello: shrink fifos a bit more to relax pnr 2016-07-23 12:55:49 +02:00
Sebastien Bourdeauducq 209934485f examples/handover: put slack after reset. Closes #520 2016-07-20 11:52:30 +08:00
Sebastien Bourdeauducq 0590021790 artiq_flash: support using alternative OpenOCD config files 2016-07-19 15:35:50 +08:00
Robert Jördens 0744620787 examples/device_db: explain where comments are shown (#518) 2016-07-18 21:43:57 +02:00
Robert Jördens 6084eff85e tools: help string wording 2016-07-18 19:47:05 +02:00
Robert Jördens 9785b39edd tools: support wildcard bind: --bind '*' 2016-07-18 18:30:49 +02:00
Robert Jördens b9000fa267 tools: __all__ update 2016-07-18 18:30:49 +02:00
Sebastien Bourdeauducq 0963b07774 dashboard: remove vestige of status bar. Closes #517 2016-07-19 00:01:59 +08:00
Robert Jördens 1877329fd1 dashboard: style 2016-07-18 16:51:17 +02:00
Robert Jördens 6a7377244b tools: style 2016-07-18 16:50:45 +02:00
Robert Jördens bb706c1fe2 browser/dashboard: use appdirs, closes #438 2016-07-18 16:50:27 +02:00
Robert Jördens 340d65fec7 add appdirs
1.4.1
MIT license
https://github.com/ActiveState/appdirs/blob/master/appdirs.py
2016-07-18 16:40:18 +02:00
Robert Jördens a7e101af8d artiq_flash: fix openocd scripts path (#513) 2016-07-15 15:31:33 +02:00
whitequark b6c12f2f56 test: relax RPCTiming rpc_time_stddev from 1ms to 2ms.
Even when given exclusive access to our buildserver it still gives
false positives with 1ms.
2016-07-14 10:47:51 +00:00
Robert Jördens c0d59140fe pc_rpc: increase firstcon_timeout to 1 s
let's see whether this is enough on windows:

http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/258/steps/python_unittest/logs/stdio

test_attenuation (artiq.test.test_lda.TestLda) ... first connection attempt to ::1:3253[<class 'artiq.protocols.pc_rpc.AutoTarget'>] failed, retrying in the background
Traceback (most recent call last):
  File "c:\slave64\artiq-win64-test\build\artiq\protocols\pc_rpc.py", line 301, in __init__
    self.__coninit(firstcon_timeout)
  File "c:\slave64\artiq-win64-test\build\artiq\protocols\pc_rpc.py", line 317, in __coninit
    (self.__host, self.__port), timeout)
  File "c:\slave64\miniconda\envs\buildbot-artiq-win64-test-258\lib\socket.py", line 711, in create_connection
    raise err
  File "c:\slave64\miniconda\envs\buildbot-artiq-win64-test-258\lib\socket.py", line 702, in create_connection
    sock.connect(sa)
socket.timeout: timed out
2016-07-13 18:45:57 +02:00
whitequark c50d436f0b ir: `invoke` is a valid `delay` decomposition.
Fixes #510.
2016-07-13 08:48:31 +00:00
Sebastien Bourdeauducq 1c32d4fb71 monkey-patch Python 3.5.2 to disable broken asyncio.base_events._ipaddr_info optimization (#506) 2016-07-13 11:35:16 +08:00
whitequark c5ba44b8a6 compiler.testbench.perf_embedding: more fine grained reporting. 2016-07-11 17:55:24 +00:00
Robert Jördens aa1f32a5df browser: port ae914d2 2016-07-09 19:13:22 +02:00
Robert Jördens ee5b269823 browser: port b769403 2016-07-09 18:48:05 +02:00
Robert Jördens 42093ace8d browser: port ea13d00 2016-07-09 18:46:16 +02:00
Robert Jördens 5cfdaee46a browser: recompute and load buttons side-by-side 2016-07-09 18:43:36 +02:00
Robert Jördens 6d0ae689e9 browser: remove copy_rev stub 2016-07-09 18:41:30 +02:00
Robert Jördens 7ce9fc714a browser: permanently show results' metadata, closes #471 2016-07-09 18:29:01 +02:00
Robert Jördens 48a42cdb34 browser: move load-args button into area 2016-07-09 17:20:43 +02:00
Robert Jördens 9ca27e6d7f worker_impl: style 2016-07-09 16:58:19 +02:00
Robert Jördens cfb9fb808c worker: also return DummyDevice from ExamineDeviceMgr 2016-07-09 16:53:28 +02:00
Sebastien Bourdeauducq 7a2405146a rtio: do not reset DDS and SPI PHYs on RTIO reset (#503) 2016-07-09 10:07:19 +08:00
Sebastien Bourdeauducq e0ed99cd7b Revert "test/ctlmgr: keep trying to ping on OSError"
This reverts commit 375e821bd8.
2016-07-09 08:59:47 +08:00