Commit Graph

118 Commits

Author SHA1 Message Date
Anton Lydike
40559f00b4 Added instruction on how to build docs locally to README 2021-04-23 21:15:13 +02:00
Anton Lydike
0b6f8a05d8 Added markdown docs from docs folder to readthedocs output 2021-04-23 21:11:55 +02:00
Anton Lydike
242af5c7a3 implemented mmu.allocate_region and reworked how the stack works 2021-04-23 20:32:19 +02:00
Anton Lydike
bc8c061c6d removed stack pref pseudo-op in preperation for real stack impl 2021-04-23 19:53:06 +02:00
Anton Lydike
a52506a17f updated docs for new logging 2021-04-23 19:37:38 +02:00
Anton Lydike
2cd407aa79 added readthedocs link to readme 2021-04-23 19:21:13 +02:00
Anton Lydike
4ff9be4061 brainfart when configuring readthedocs theme 2021-04-23 19:14:49 +02:00
Anton Lydike
2810fb53a2 using correct readthedocs theme? 2021-04-23 19:13:34 +02:00
Anton Lydike
f5afd0a8be more readthedocs fixes? 2021-04-23 19:09:44 +02:00
Anton Lydike
317d106b9c lots of readthedocs debugging 2021-04-23 19:02:33 +02:00
Anton Lydike
0574766a81 lots more documentation cleanup 2021-04-23 18:44:42 +02:00
Anton Lydike
fdcb3a71be added readthedocs 2021-04-23 18:42:54 +02:00
Anton Lydike
819d57e3c8 preparations for sphinx documentation generation 2021-04-22 15:47:11 +02:00
Anton Lydike
6e6ce90e9a added lots more documentation and copyright notices 2021-04-22 14:29:10 +02:00
Anton Lydike
2a68f16e99 added lots of documentation in pydoc style 2021-04-22 13:57:13 +02:00
Anton Lydike
8c1714116e more info in readme to symbols and prgram startup 2021-04-22 13:03:49 +02:00
Anton Lydike
a1fe631844 improved debugging output on early exit and reformatted cpu file 2021-04-22 13:00:37 +02:00
Anton Lydike
21b974cfbd prettier debug output (colorized) 2021-04-22 12:57:40 +02:00
Anton Lydike
41f5dd0730 better ascii dumps 2021-04-22 12:48:46 +02:00
Anton Lydike
ebfb3a0112 better formatted print outputs 2021-04-22 12:41:07 +02:00
Anton Lydike
18b5ea0570 added launch message where cpu starts execution 2021-04-22 12:40:28 +02:00
Anton Lydike
44ae0bac77 read syscall now behaves like readline instead of read 2021-04-22 11:22:05 +02:00
Anton Lydike
0d9960c01a added add_accept_imm option flag to allow add rd, rs, imm instructions 2021-04-21 21:04:56 +02:00
5da0f8b0fa fixed failure to launch with missing --instruction-sets flag 2021-04-21 20:41:35 +02:00
Anton Lydike
9afbd03733 added .word pseudo op 2021-04-21 20:36:26 +02:00
Anton Lydike
daed3a0205 added proper cpu exit handling 2021-04-21 20:36:10 +02:00
30d3e0ab59 updated readme formatting 2021-04-19 12:53:00 +02:00
cd17c65ce7 Added instruction set selector to CLI 2021-04-19 12:51:43 +02:00
8b1cbd97ec added heap/stack support to todo section in readme 2021-04-19 12:33:44 +02:00
b24a83d27c rewrote parts of instruction set docs 2021-04-19 12:24:14 +02:00
22a577da59 fixed formatting in verbose cpu output 2021-04-19 12:18:06 +02:00
785af6b747 added more documentation about debuggin tools 2021-04-19 12:16:50 +02:00
39d5212d3d added stepping functionality to the debugger 2021-04-19 12:10:24 +02:00
521cb73ad6 better dumping code in debugger 2021-04-19 11:27:31 +02:00
318b62431d catching invalid immediate value now 2021-04-19 11:22:08 +02:00
7d095991a2 added light documentation for internal structure 2021-04-19 11:16:57 +02:00
97525bf8ab fixed cpu __repr__ method 2021-04-19 11:16:05 +02:00
Anton Lydike
9cd0fcb7e8 added url to risc-v instruction definition to README 2021-04-19 09:49:06 +02:00
Anton Lydike
b7c0f39aaa added documentation for RV32M 2021-04-19 09:48:31 +02:00
Anton Lydike
7aa67cd4e1 improved instruction parsing in RV32M 2021-04-19 09:48:06 +02:00
Anton Lydike
d8f46c781c finished the RV32I instruction set 2021-04-19 09:00:45 +02:00
Anton Lydike
1abeab6f2d added parse_rs_rs_imm method to InstructionSet, used for branch instructions 2021-04-19 08:53:35 +02:00
Anton Lydike
d40c80cb81 added unsigned options to instruction parsing 2021-04-19 08:37:16 +02:00
Anton Lydike
1957e11f62 added unified instruction parsing 2021-04-19 08:34:39 +02:00
Anton Lydike
2d378f2e0a implemented remu, rem, divu div and mul in RV32M 2021-04-19 00:05:23 +02:00
Anton Lydike
157589548d unified instruction parsing code 2021-04-19 00:04:51 +02:00
Anton Lydike
d3fe6cb1a9 fixed read syscall shadowing of len 2021-04-19 00:04:10 +02:00
Anton Lydike
38cb3f7669 renamed RVM to RV32M 2021-04-18 23:47:08 +02:00
Anton Lydike
7f3fb9b141 fixed bgeu, bltu and bge in RV32I 2021-04-18 23:45:11 +02:00
Anton Lydike
07f097202d added lui instruction to RV32I 2021-04-18 23:44:18 +02:00