summaryrefslogtreecommitdiff
path: root/riscv/riscv_sys.sail
AgeCommit message (Expand)Author
2018-06-19Add more detail to riscv execution trace log.Prashanth Mundkur
2018-06-15Fix riscv system register initialization.Prashanth Mundkur
2018-06-11Use riscv platform insns_per_tick to tick the clock.Prashanth Mundkur
2018-06-11Merge branch 'sail2' into mappingsJon French
2018-06-09Increment minstret on instruction retires, and handle the case when the minst...Prashanth Mundkur
2018-06-09Some fixes to counteren handling.Prashanth Mundkur
2018-06-08Add counteren registers.Prashanth Mundkur
2018-06-08Update initialization of misa.Prashanth Mundkur
2018-05-21Move mem-op-result to _sys to be usable from _platform.Prashanth Mundkur
2018-05-21further RISCV mapping: all extant non-compressed instructions doneJon French
2018-05-07Add a register indicating no trigger/breakpoint support, which allows the bre...Prashanth Mundkur
2018-05-07Log trap value on traps.Prashanth Mundkur
2018-05-03Fix a bug in privilege transition, add better transition logging.Prashanth Mundkur
2018-05-03Implement wfi, and cleanup handling illegal operations.Prashanth Mundkur
2018-05-03Fix interrupt dispatch, improve execution logs, cleanup unused bits.Prashanth Mundkur
2018-05-03Fix up interrupt and exception dispatch.Prashanth Mundkur
2018-05-03Implement fetch to properly handle RVC and address translation, and add a ste...Prashanth Mundkur
2018-05-02Finish up Sv39 address translation.Prashanth Mundkur
2018-05-02Tick cycle counter in execute loop.Prashanth Mundkur
2018-04-26Ensure riscv interrupt delegation does not reduce current privilege.Prashanth Mundkur
2018-04-26Initial support for faults of writes to physical addresses.Prashanth Mundkur
2018-04-26Initial support for faults of reads to physical addresses.Prashanth Mundkur
2018-04-20Add a riscv instruction printer for the execution log.Prashanth Mundkur
2018-04-20Some cleanup and comments.Prashanth Mundkur
2018-04-18Remove obsolete comment.Prashanth Mundkur
2018-04-18Add interrupt prioritization and delegation.Prashanth Mundkur
2018-04-18Fix mideleg semantics after spec clarification from Andrew Waterman.Prashanth Mundkur
2018-04-18Use the generated num_of_E function for enum E instead of defining one by hand.Prashanth Mundkur
2018-04-17Implement sret.Prashanth Mundkur
2018-04-17Hook in the delegated trap handler and remove the old one.Prashanth Mundkur
2018-04-17Add platform initialization for the new bits of machine state.Prashanth Mundkur
2018-04-17Separate out the trap handler, and make it use the delegatee privilege.Prashanth Mundkur
2018-04-17Define exception handler delegation.Prashanth Mundkur
2018-04-16Implement the s-mode views of mie/mip, and their legalizers.Prashanth Mundkur
2018-04-16Add the satp legalizer.Prashanth Mundkur
2018-04-13Add some checks of current state, and use for the xepc write legalizer.Prashanth Mundkur
2018-04-13Some initial legalizers for writes to S-mode CSRs.Prashanth Mundkur
2018-04-13Define legalizers for writes to M-mode CSRs, and hook these writes to use them.Prashanth Mundkur
2018-04-13Fix access checks to riscv CSRs.Prashanth Mundkur
2018-04-11Initial bits of supervisor state.Prashanth Mundkur
2018-04-11Add some misc informational m-mode registers that are used in a test.Prashanth Mundkur
2018-04-11More structured riscv trap vector handling.Prashanth Mundkur
2018-04-09Update riscv to use the new system definitions, remove duplicates.Prashanth Mundkur
2018-03-07Make union types consistent in the ASTAlasdair Armstrong
2018-02-06Add a system initialization function. For now, it merely initializes support...Prashanth Mundkur
2018-02-06some prettyfying of riscv: replace regbits/bits(64) with xlenbits and use ove...Robert Norton
2018-02-05squash a warning.Robert Norton
2018-02-01badaddr is a misleading name, since it could contain what the PC points to fo...Prashanth Mundkur
2018-02-01Initial top-level support for compression instructions.Prashanth Mundkur
2018-01-29Initial handling of CSR reads/writes.Prashanth Mundkur