Commit Graph

6411 Commits

Author SHA1 Message Date
5570d45acb runtime: run kernel just once 2014-07-05 22:47:23 +02:00
301b7d51fa add gpio_out syscall 2014-07-05 22:46:43 +02:00
37cd4e7e86 devices: add simple GPIO out 2014-07-05 22:45:08 +02:00
a8ef4d8b91 compiler/ir: create machine code from kernel statements 2014-07-05 22:44:54 +02:00
d804f1199e soc: add LED 2014-07-05 22:44:20 +02:00
a08c6d4410 runtime: support regular function calls from the kernel 2014-07-05 19:39:49 +02:00
de238503d2 devices/runtime: use regular function call instead of syscall 2014-07-05 19:39:05 +02:00
99c99484ae compiler/ir: load into device 2014-07-05 19:38:45 +02:00
0c2c355088 gitignore: add runtime binaries 2014-07-05 19:38:26 +02:00
711be75c35 compiler/ir: pass arguments to syscall 2014-07-05 19:13:05 +02:00
6b8ac5ae7b devices: add basic core device serial comms driver 2014-07-05 19:12:21 +02:00
29bd6e377d core_dds -> dds_core 2014-07-04 17:57:53 +02:00
10db450098 Minor cleanup 2014-07-04 17:50:35 +02:00
6072f0c42f Basic SoC and runtime design 2014-07-04 17:49:08 +02:00
71323fb7cd compiler: system calls 2014-07-04 17:17:01 +02:00
c4f49e7dff llvm_or1k_setup.txt: we are still using llvm 3.3 opcode numbers 2014-06-24 17:45:44 +02:00
74cdafdde5 compiler: interleave transform 2014-06-22 18:52:37 +02:00
6ea0430cec compiler/ir: simplify type dictionaries 2014-06-22 00:04:46 +02:00
b28fdf5fb0 compiler: add unroll_loops transform 2014-06-21 15:06:15 +02:00
5a8074a12f compiler: propagate AST node location info 2014-06-21 14:53:09 +02:00
c71eb702bb tools/make_stmt_transformer: pass args/kwargs 2014-06-21 12:13:28 +02:00
c3092ae13f compiler: factorize operation of NodeTransformer on statement lists 2014-06-21 00:40:52 +02:00
6400e28e4c compiler: fold constants 2014-06-21 00:19:56 +02:00
94ff2e2ddc compiler: share value_to_ast 2014-06-21 00:19:40 +02:00
5b0fd50dbe inline: support rw kernel attributes 2014-06-18 21:04:54 +02:00
67e042852a Add simple simulation example 2014-06-18 13:43:09 +02:00
d41ac863f4 inline: support kernel_attr_ro 2014-06-17 19:46:22 +02:00
0d9bdc101c inline: check inlined functions are on the same core device 2014-06-17 18:52:48 +02:00
08ab99d33e inline: basic function inlining 2014-06-17 18:37:51 +02:00
d87b207b8a compiler/inline: embeddable calls 2014-06-16 23:52:19 +02:00
8cb3d33c67 compiler_test: better RPC example 2014-06-16 23:51:43 +02:00
79f20ebfcf Make syscall an experiment function instead of a core method 2014-06-16 23:51:27 +02:00
9db8627081 compiler: generate RPC calls 2014-06-16 22:56:08 +02:00
792ac44245 inline: return statements 2014-06-16 22:01:20 +02:00
c021b2ef41 compiler/inline: handle function params and builtin calls 2014-06-16 21:52:38 +02:00
f035507bac language/experiment: attach k_function_info in kernel decorator, do not use star notation for kernel args 2014-06-16 21:51:58 +02:00
903cbfd848 compiler_test: demo parameters and constant globals 2014-06-16 21:39:33 +02:00
733a03b7ad cleanup 2014-06-16 21:35:08 +02:00
d63c3264d3 devices/core: test inline transform first 2014-06-16 21:33:59 +02:00
7ec448cdc9 compiler: inline transform WIP 2014-06-10 15:23:14 +02:00
3cd462f4d5 experiment: simplify definition of kernel_attr 2014-06-10 15:22:27 +02:00
8cc9c9eed6 units: remove duplicate method 2014-06-10 15:16:45 +02:00
7eb9641905 compiler: share eval_ast 2014-06-10 15:16:28 +02:00
d7f9e6b228 experiment: add list of kernel globals 2014-06-10 15:16:04 +02:00
b0006e933a experiment/_DummyTimeManager: add missing enter_parallel 2014-06-10 15:15:35 +02:00
9e8077b873 First simple attempt at compiling Python AST to LLVM IR 2014-06-07 18:47:06 +02:00
434d6d70a0 Add info on how to get llvmpy to work with OR1K 2014-06-02 18:20:28 +02:00
13acb57179 TimeManager: use units further, add now/at functionality 2014-05-30 19:01:27 +02:00
732412e4c9 units: implement operators 2014-05-30 19:00:33 +02:00
c769bdab9b Introduce compiler and device modules 2014-05-30 18:20:13 +02:00