Commit Graph

4482 Commits

Author SHA1 Message Date
Sebastien Bourdeauducq e22301ea05 transforms: track units, now() returns seconds, implement time_to_cycles and cycles_to_time 2014-10-06 23:28:56 +08:00
Sebastien Bourdeauducq 1a64e92e75 language/units: add mod 2014-10-06 23:26:35 +08:00
Sebastien Bourdeauducq 0985a53df2 language/core: add time_to_cycles and cycles_to_time 2014-10-06 23:26:21 +08:00
Sebastien Bourdeauducq 9caaaeb414 py2llvm/fractions: add lt, le, gt, ge comparisons 2014-10-06 23:22:05 +08:00
Sebastien Bourdeauducq 8612a8a9ca devices/dds_core: remove stale kernel_attr 2014-10-06 17:23:00 +08:00
Sebastien Bourdeauducq 70fc0f6ce7 language/units: better support for ops on different dimensions 2014-10-05 23:15:25 +08:00
Sebastien Bourdeauducq 6c44fe0a87 language/units: fix printing 2014-10-05 21:35:24 +08:00
Sebastien Bourdeauducq 2a19d7d32b language/units: use only a string to identify units 2014-10-05 21:01:08 +08:00
Sebastien Bourdeauducq 2944592201 Remove microcycle unit
Introducing it complicates things and has no advantage with good rational arithmetic support.
2014-10-05 17:54:22 +08:00
Sebastien Bourdeauducq 59194176a9 add rudimentary master/controller/client 2014-10-05 16:25:31 +08:00
Sebastien Bourdeauducq 2f58cf6aff examples: add main function 2014-10-05 16:24:21 +08:00
Sebastien Bourdeauducq 53b259b9a0 soc/runtime/dds: fix FUD sequence error detection 2014-10-05 10:34:32 +08:00
Sebastien Bourdeauducq 5d8c53abb3 soc/runtime/exceptions: do not crash when exception is raised with no handler 2014-10-05 10:33:27 +08:00
Sebastien Bourdeauducq 76fed11d59 rtio: raise RTIOSequenceError exceptions when events are not submitted in-order 2014-09-30 19:32:11 +08:00
Sebastien Bourdeauducq 73d0a84b44 doc: various cleanups 2014-09-30 18:10:40 +08:00
Sebastien Bourdeauducq cb036a30c7 devices/dds_core: document 2014-09-30 17:38:52 +08:00
Sebastien Bourdeauducq 5ac42e42c1 rename artiq.language.std -> artiq 2014-09-30 17:38:02 +08:00
Sebastien Bourdeauducq 821834891e language/core: use 'var' for class attribute docstring 2014-09-30 16:43:27 +08:00
Sebastien Bourdeauducq 05d8dde412 language/core: pass docstrings through kernel decorator 2014-09-30 16:43:00 +08:00
Sebastien Bourdeauducq 5099643f84 devices/rtio_core: rename RTIOCounter to RTIOIn and document 2014-09-30 16:42:07 +08:00
Sebastien Bourdeauducq c95f5bdff3 transforms/inline: strip docstrings 2014-09-30 00:46:14 +08:00
Sebastien Bourdeauducq d3e70ec53d language/units: cleanup and add docstrings 2014-09-29 23:41:37 +08:00
Sebastien Bourdeauducq f105e5e214 language: add std module with common user features 2014-09-29 23:14:10 +08:00
Sebastien Bourdeauducq 6a1cf8749d doc/manual: more tutorial steps 2014-09-29 20:20:14 +08:00
Sebastien Bourdeauducq 1ae7724a15 transforms/interleave: support try statements 2014-09-29 18:09:48 +08:00
Sebastien Bourdeauducq 2a40d69290 transforms/inline: fix runtime exception encoding 2014-09-29 18:09:26 +08:00
Sebastien Bourdeauducq 4572b7657f devices/runtime_exceptions: fix exception_map generation 2014-09-29 18:08:58 +08:00
Sebastien Bourdeauducq 035b541a73 language/core: add RuntimeException 2014-09-29 17:36:35 +08:00
Sebastien Bourdeauducq 4a1cad5227 language/core: reduce namespace pollution 2014-09-29 17:28:14 +08:00
Sebastien Bourdeauducq 9f82ff81f2 doc: add some tutorial steps 2014-09-29 14:50:29 +08:00
Sebastien Bourdeauducq 4e2c956f9c doc/manual/installing: minor fixes 2014-09-29 09:43:12 +08:00
Sebastien Bourdeauducq 626fa782c3 doc: add installation instructions 2014-09-28 23:25:32 +08:00
Robert Jördens 716ee228a2 gitignore: add setup.py things 2014-09-27 21:28:06 +08:00
Robert Jördens 741228878c add basic setup.py and infrastructure 2014-09-27 21:28:06 +08:00
Sebastien Bourdeauducq 7289c18a42 transforms/unroll_loops: count statements in try blocks 2014-09-27 11:57:47 +08:00
Sebastien Bourdeauducq 2b948ba267 test/py2llvm: test continue statement 2014-09-27 00:27:30 +08:00
Sebastien Bourdeauducq 4a5e398857 py2llvm: support continue statement 2014-09-27 00:27:11 +08:00
Sebastien Bourdeauducq 89fdab2176 py2llvm: factorize basic block termination test 2014-09-26 23:53:56 +08:00
Sebastien Bourdeauducq f510d3aa49 test/full_stack: add exception test 2014-09-26 23:45:09 +08:00
Sebastien Bourdeauducq d10112688f py2llvm: execute finally block when exception is re-raised in handler 2014-09-26 23:44:44 +08:00
Sebastien Bourdeauducq 4978f8b3d7 py2llvm: remove LLVM-crashing (unreachable) non-SSA path with exception ID 2014-09-26 19:38:14 +08:00
Sebastien Bourdeauducq 20ca97485c py2llvm: support break/return in try block 2014-09-26 19:21:49 +08:00
Sebastien Bourdeauducq 8852dd394e transforms/unroll_loop: handle breaks in try and with blocks 2014-09-26 19:20:56 +08:00
Sebastien Bourdeauducq f332def3a2 py2llvm: fix behaviour of 'break' in 'else' clause of loops 2014-09-26 18:16:20 +08:00
Sebastien Bourdeauducq e263b63527 soc/runtime: raise underflow exception for replace and DDS FUD operations 2014-09-26 17:24:45 +08:00
Sebastien Bourdeauducq af0cd902d3 get frequency from RTIO, support fractional frequencies 2014-09-26 17:24:06 +08:00
Sebastien Bourdeauducq dd6de244fe minor cleanups 2014-09-26 17:21:51 +08:00
Sebastien Bourdeauducq e0cd45b1ba devices/corecom_serial: do not use deprecated logger.warn 2014-09-25 12:58:11 +08:00
Sebastien Bourdeauducq a6580c3fa2 test: RTIO underflow exception 2014-09-25 12:57:52 +08:00
Sebastien Bourdeauducq 4f26b6281d host: support runtime device exceptions 2014-09-25 12:57:26 +08:00