Commit Graph

15 Commits

Author SHA1 Message Date
Anton Lydike
5515c7795c format black 2023-05-01 16:39:27 +01:00
Anton Lydike
cadccaef00 [priv] fixed printing for mret, sret and uret 2022-03-27 18:44:41 +02:00
Anton Lydike
71093fe72f Maor round of bugfixes and incremental improvements
- fixed errors in TextIO and IOModule
 - moved to Int32 and UInt32 based arithmetic
 - added a lot of end-to-end and other tests
2022-03-27 15:21:10 +02:00
Anton Lydike
e9c11e9a41 added correct instruction printing 2021-11-16 08:02:27 +01:00
Anton Lydike
0c96a87dcb added RV32A extension, only missing LR.W and SC.W 2021-09-03 14:59:34 +02:00
Anton Lydike
1f03449694 added memory image support to priv emulator 2021-08-26 10:46:06 +02:00
Anton Lydike
639f91b192 [decoder] removed sign extension for CSR type instructions 2021-06-08 11:31:58 +02:00
Anton Lydike
79d913baaf [decoder] fixed formatting in print_ins function 2021-06-08 00:19:04 +02:00
Anton Lydike
9278235e44 [decoder] fixed botched j immediate decoding 2021-06-08 00:18:44 +02:00
Anton Lydike
3e4920f5d9 [decoder] fixed bug when decoding add/sub instruction 2021-06-05 15:24:40 +02:00
Anton Lydike
849d5f4fc3 [decoder, ElfLoader] decoing an instruction now returns all args as int 2021-06-05 15:24:16 +02:00
Anton Lydike
9424390b65 [decoder] Added mret, sret, uret, wfi instruction decoding support 2021-06-05 09:54:58 +02:00
Anton Lydike
3f11cd84ca [decoder] fixed error with decoding slli type instructions 2021-05-23 12:58:47 +02:00
Anton Lydike
f3959be843 [decoder] now returning instruction number as third return value 2021-05-23 10:44:27 +02:00
Anton Lydike
a4735db388 Added a decoder module which can deocde some RV32I/M instructions
Some of them even correctly O.o
2021-05-22 21:01:03 +02:00