aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-04-12Merge branch 'master' into rmem_interpreterrmem_interpreterJon French17-79/+154
2019-04-12ocaml emulator: add ocaml impls for new standard Sail memory functionsJon French1-0/+12
2019-04-10Update Coq memory interfacesBrian Campbell2-32/+39
(requires recent changes to the Coq library)
2019-04-09Add a script to build rv32/rv64 ocaml and c emulators.Prashanth Mundkur1-0/+8
2019-04-09Fix c.addiw to expand to a non-rvc instruction as per spec.Prashanth Mundkur1-7/+2
2019-04-04Add `sys_enable_writable_misa` and `sys_enable_rvc` to Coq extras fileBrian Campbell1-0/+3
2019-04-03Tweak print_* bindings for LemThomas Bauereiss3-4/+10
Map to a function that does not actuaylly output anything, in order to not confuse rmem.
2019-04-01Add missed lem definitions for sys misa/rvcflags.Prashanth Mundkur2-0/+16
2019-03-29Add a note about 32-bit OS boots.Prashanth Mundkur1-0/+3
2019-03-29Generalize the previous commit to handle hardwired misa.c.Prashanth Mundkur9-33/+69
2019-03-29Tweak legalize_xepc according to spec: xepc[1] should always be writeable.Robert Norton1-4/+5
2019-03-25Fix prelude for new names of div and mod functions.Robert Norton1-3/+3
2019-03-14Merge branch 'master' into rmem_interpreterJon French594-4948/+102598
2019-03-14Use Bytes.get instead of square bracket notation. I think this is an ocaml ↵Robert Norton1-4/+4
version incompatibility.
2019-03-13Add workaround for records with len parametersBrian Campbell1-0/+1
2019-03-12Fix missed tlb updates.Prashanth Mundkur2-4/+4
2019-03-12refactor memory access to use new sail intrinsicsJon French3-139/+49
2019-03-12riscv_platform.sail: use externs for platform values even in interpreterJon French3-26/+16
2019-03-12fix missing separator in shift instruction disassembliesJon French1-2/+2
2019-03-12prelude.sail: fix print_foo externs in interpreterJon French1-4/+4
2019-03-12Makefile: generate toFromInterp and marshalled defs for RMEMJon French1-8/+16
2019-03-11Fix rvfi initialization.Prashanth Mundkur1-2/+1
2019-03-11Fix typo in Makefile.Prashanth Mundkur1-1/+1
2019-03-11Add tlbs for Sv32 and Sv48, and some fixes to sfence.vma.Prashanth Mundkur5-50/+171
- handle sfence.vma in machine-mode - flush both tlb39 and tlb48 in 64-bit mode
2019-03-11Fixes for Sv39 TLB.Prashanth Mundkur9-13/+44
- fix and simplify model initialization, to enable generic TLB initialization - re-enable sfence.vma
2019-03-08Initial attempt at genericizing TLB entries, and re-introduce for Sv39.Prashanth Mundkur2-80/+124
2019-03-08Another prelude cleanup.Prashanth Mundkur1-2/+0
2019-03-07Minor prelude cleanup.Prashanth Mundkur1-2/+0
2019-03-07Get rvfi building again.Prashanth Mundkur3-12/+17
2019-03-07Fix docs about sel4 boot.Prashanth Mundkur3-7/+56
2019-03-07More doc tweaks.Prashanth Mundkur1-3/+5
2019-03-07Another doc update.Prashanth Mundkur1-1/+4
2019-03-07More doc tweaks.Prashanth Mundkur1-20/+13
2019-03-07More doc tweaks.Prashanth Mundkur4-0/+9
2019-03-07More doc updates.Prashanth Mundkur1-7/+7
2019-03-07More doc edits.Prashanth Mundkur2-7/+16
2019-03-07Minor doc edits.Prashanth Mundkur2-3/+4
2019-03-07Add sample OS images and update docs.Prashanth Mundkur8-57/+189
2019-03-06Minor clarification in readme.Prashanth Mundkur1-1/+1
2019-03-06Fix a missed case of reservation cancellation.Prashanth Mundkur1-1/+1
2019-03-06Fix RV32 reservation checks in C emulator. Also reduce default ram to 64MB.Prashanth Mundkur2-5/+15
2019-03-06Fix U-mode checks in check_Counteren()Xi Wang1-3/+3
Access to a counter in U-mode should cause an illegal instruction exception if the corresponding bit is clear in either mcounteren or scounteren. The current code checks scounteren only.
2019-03-05Some fixes to readme and makefile.Prashanth Mundkur2-11/+11
2019-03-05Fix a typo.Prashanth Mundkur1-1/+1
2019-03-05Correct capitalisation of Sv39/48 in pattern matchesBrian Campbell2-3/+3
2019-03-04Merge branch 'master' into rv32Prashanth Mundkur1-4/+3
2019-03-04Minor edit for consistency.Prashanth Mundkur1-5/+5
2019-03-04Fix missed RV32 check for shamt in sll/srl.Prashanth Mundkur1-5/+13
2019-03-04Enable pmpaddr0.Prashanth Mundkur1-2/+1
2019-03-04Update readme.Prashanth Mundkur1-5/+12