aboutsummaryrefslogtreecommitdiff
path: root/riscv_sys.sail
AgeCommit message (Expand)AuthorFilesLines
2019-01-14Reorganize directory structure.Prashanth Mundkur1-1046/+0
2018-12-22When speculate_conditional fails we still need to write 0b1 to rd;Shaked Flur1-2/+2
2018-12-20Address the fixme for rmem integration of LR as suggested by Shaked.Prashanth Mundkur1-1/+3
2018-11-29RISC-V: factor the execution trace.Prashanth Mundkur1-16/+16
2018-11-29RISC-V: properly set mstatus.FS in absence of floating-point support.Prashanth Mundkur1-0/+5
2018-11-12Add RVFI DII version of the RISC-V simulator for TestRIGBrian Campbell1-0/+10
2018-10-23RISC-V: Add a platform knob to control mtval contents on illegal instruction ...Prashanth Mundkur1-12/+0
2018-10-23RISC-V: fix: sstatus.SD depends on .XS and .FS.Prashanth Mundkur1-1/+5
2018-09-04C: Tweaks to RISC-V to get compiling to CAlasdair Armstrong1-1/+1
2018-08-31Some C stubs for platform bits for RISC-V.Prashanth Mundkur1-2/+2
2018-07-20Add assorted comments, consistency fixes and cleanup.Prashanth Mundkur1-40/+85
2018-07-10correct pretty-printing using mappingsJon French1-2/+34
2018-07-09Support writes to misa.C in riscv.Prashanth Mundkur1-5/+13
2018-07-07Cancel riscv reservation before i/o scheduling, tweak reservation tracing.Prashanth Mundkur1-5/+9
2018-07-07An initial fix to riscv lr/sc, needs a review.Prashanth Mundkur1-1/+23
2018-06-25Fix riscv interrupt pending check to handle implicit enabling at lower privil...Prashanth Mundkur1-8/+10
2018-06-25Make sstatus.UXL legalization match spike for now. Leave a fixme to make this...Prashanth Mundkur1-1/+1
2018-06-22Some more riscv trace log tweaking for spike compatibility.Prashanth Mundkur1-1/+10
2018-06-22More trace log tweaks.Prashanth Mundkur1-0/+3
2018-06-21add PMP registers to CSR, fix buildJon French1-0/+6
2018-06-19Add more detail to riscv execution trace log.Prashanth Mundkur1-3/+18
2018-06-15Fix riscv system register initialization.Prashanth Mundkur1-8/+22
2018-06-11Use riscv platform insns_per_tick to tick the clock.Prashanth Mundkur1-4/+0
2018-06-11Merge branch 'sail2' into mappingsJon French1-4/+79
2018-06-09Increment minstret on instruction retires, and handle the case when the minst...Prashanth Mundkur1-0/+19
2018-06-09Some fixes to counteren handling.Prashanth Mundkur1-2/+4
2018-06-08Add counteren registers.Prashanth Mundkur1-1/+45
2018-06-08Update initialization of misa.Prashanth Mundkur1-3/+6
2018-05-21Move mem-op-result to _sys to be usable from _platform.Prashanth Mundkur1-0/+7
2018-05-21further RISCV mapping: all extant non-compressed instructions doneJon French1-0/+63
2018-05-07Add a register indicating no trigger/breakpoint support, which allows the bre...Prashanth Mundkur1-0/+8
2018-05-07Log trap value on traps.Prashanth Mundkur1-1/+1
2018-05-03Fix a bug in privilege transition, add better transition logging.Prashanth Mundkur1-5/+14
2018-05-03Implement wfi, and cleanup handling illegal operations.Prashanth Mundkur1-0/+6
2018-05-03Fix interrupt dispatch, improve execution logs, cleanup unused bits.Prashanth Mundkur1-6/+5
2018-05-03Fix up interrupt and exception dispatch.Prashanth Mundkur1-21/+29
2018-05-03Implement fetch to properly handle RVC and address translation, and add a ste...Prashanth Mundkur1-0/+5
2018-05-02Finish up Sv39 address translation.Prashanth Mundkur1-2/+3
2018-05-02Tick cycle counter in execute loop.Prashanth Mundkur1-0/+4
2018-04-26Ensure riscv interrupt delegation does not reduce current privilege.Prashanth Mundkur1-1/+6
2018-04-26Initial support for faults of writes to physical addresses.Prashanth Mundkur1-0/+7
2018-04-26Initial support for faults of reads to physical addresses.Prashanth Mundkur1-0/+4
2018-04-20Add a riscv instruction printer for the execution log.Prashanth Mundkur1-0/+66
2018-04-20Some cleanup and comments.Prashanth Mundkur1-4/+7
2018-04-18Remove obsolete comment.Prashanth Mundkur1-1/+0
2018-04-18Add interrupt prioritization and delegation.Prashanth Mundkur1-1/+43
2018-04-18Fix mideleg semantics after spec clarification from Andrew Waterman.Prashanth Mundkur1-4/+10
2018-04-18Use the generated num_of_E function for enum E instead of defining one by hand.Prashanth Mundkur1-1/+1
2018-04-17Implement sret.Prashanth Mundkur1-4/+9
2018-04-17Hook in the delegated trap handler and remove the old one.Prashanth Mundkur1-96/+2