Commit Graph

311 Commits (master)
 

Author SHA1 Message Date
Anton Lydike c963fe3989 [Priv] small fixes for overlooked things 4 years ago
Anton Lydike 85af9b992f [PrivCPU] overhaul of instruction cycle, adding more CSR interaction 4 years ago
Anton Lydike 7239212729 [CSR] adding virtual csr registers 4 years ago
Anton Lydike 6653ef7e7c [CPU] set correct MISA 4 years ago
Anton Lydike a1f29b9d97 [CPU] cleaned up constructor 4 years ago
Anton Lydike 49b59cd46a [CSR] added read/write checks and unified name to addr resuloution 4 years ago
Anton Lydike 291f44a192 [CSR] unknown csr names now fail without exception 4 years ago
Anton Lydike c4cd83701f [CSR, PrivCPU] Added csr callback registration through decorator 4 years ago
Anton Lydike 504407c0d9 [CSR] adding callbacks to each csr block 4 years ago
Anton Lydike db2b0b314b [PrivCPU, PrivRV32I] fix for relative jumps and branches 4 years ago
Anton Lydike 6bd5cd1598 [ElfLoader] better formatting for load and save instructions 4 years ago
Anton Lydike ed6912a060 [ElfLoader] added bounds check to elf loader and casting binary data to bytearray 4 years ago
Anton Lydike 55be71dcc3 [CSR] added time and timeh csr codes 4 years ago
Anton Lydike 3a79bfdada [ElfLoader] also loading .sdata and .sbss sections now 4 years ago
Anton Lydike 3f11cd84ca [decoder] fixed error with decoding slli type instructions 4 years ago
Anton Lydike f3959be843 [decoder] now returning instruction number as third return value 4 years ago
Anton Lydike 0475d8d384 [CPU] added instruction XLEN attribute to CPU class to support multiple instruction lengths 4 years ago
Anton Lydike c9a136d595 [instructions] fixed error in auipc command 4 years ago
Anton Lydike ee0aac30c4 [instructions] moved regs and mmu to properties to work with janky PrivCPU 4 years ago
Anton Lydike 1bdf2e6efe [mmu] fixed typo in docstring 4 years ago
Anton Lydike c48a5efee3 [cpu] fixed formatting to include cpu class extensions 4 years ago
Anton Lydike 15da68995c [priv] module now able to load and execute elf binaries 4 years ago
Anton Lydike a4735db388 Added a decoder module which can deocde some RV32I/M instructions
Some of them even correctly O.o
4 years ago
Anton Lydike 483a3f2416 Priv: [wip] implementing privileged architecture 4 years ago
Anton Lydike a2e206eaee renamed CPU.__run -> CPU._run, it's now overwriteable by subclasses 4 years ago
Anton Lydike e45655e4c0 fixed some syscall docs 4 years ago
Anton Lydike 1abdc79e5e added additional logging to invalid mmu data access, needs a better exception 4 years ago
Anton Lydike fa22d76f13 Added libstring and documentation for the general library 4 years ago
Anton Lydike 6bb0ad3793 Added libstring and documentation for the general library 4 years ago
Anton Lydike a645e6259a Added more debugger documentation 4 years ago
Anton Lydike 462639ade7 Added run_ins method to debugger to run an instruction 4 years ago
Anton Lydike 5d484f08cf Minor fixes like imports and edge-case handling 4 years ago
Anton Lydike f45a37e705 Added MMU.get_bin_containing 4 years ago
Anton Lydike ff5ba9a7ef made CPU.run_instruction public 4 years ago
Anton Lydike da895f00cd added stack field to cpu 4 years ago
Anton Lydike f646bf1f1d added readthedocs badge 4 years ago
Anton Lydike 6436f8930a fixed stack docs in README 4 years ago
Anton Lydike d72f83d19c derp: wrong url to readthedocs in readme 4 years ago
Anton Lydike db0b9c26c3 updated documentation style in .idea config 4 years ago
Anton Lydike 905c2adcf5 added docs links to README 4 years ago
Anton Lydike f5f41f4e18 fixed errorneous license text in headers 4 years ago
Anton Lydike a276638f57 fixed docs folder not included in readthedocs build [second try] 4 years ago
Anton Lydike e8870420d3 fixed docs folder not included in readthedocs build 4 years ago
Anton Lydike 40559f00b4 Added instruction on how to build docs locally to README 4 years ago
Anton Lydike 0b6f8a05d8 Added markdown docs from docs folder to readthedocs output 4 years ago
Anton Lydike 242af5c7a3 implemented mmu.allocate_region and reworked how the stack works 4 years ago
Anton Lydike bc8c061c6d removed stack pref pseudo-op in preperation for real stack impl 4 years ago
Anton Lydike a52506a17f updated docs for new logging 4 years ago
Anton Lydike 2cd407aa79 added readthedocs link to readme 4 years ago
Anton Lydike 4ff9be4061 brainfart when configuring readthedocs theme 4 years ago