Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VexRiscv imem/dmem checks #5

Merged
merged 5 commits into from Nov 26, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -3,7 +3,7 @@ riscv-formal proofs for VexRiscv
================================

### Current state:
Test a simple VexRiscv configuration (https://github.com/SpinalHDL/VexRiscv/blob/formal/src/main/scala/vexriscv/demo/FormalSimple.scala)
Test a simple VexRiscv configuration (https://github.com/SpinalHDL/VexRiscv/blob/master/src/main/scala/vexriscv/demo/FormalSimple.scala)

All standards checks are passing
- Instruction Checks
@@ -12,12 +12,16 @@ All standards checks are passing
- Causality
- Liveness

Others tests passing :
- Instruction Memory check
- Data Memory check

### Quickstart guide:

First install Yosys, SymbiYosys, and the solvers. See [here](http://symbiyosys.readthedocs.io/en/latest/quickstart.html#installing)
for instructions.

To run all checks:
To run all standards checks:

```
python3 ../../checks/genchecks.py
@@ -34,10 +38,16 @@ python3 ../../checks/genchecks.py
export test=insn_beq_ch0; rm -r checks/$test; make -C checks -j$(nproc) $test/PASS; python3 disasm.py checks/$test/engine_0/trace.vcd
```


To run imem/dmem checks checks :

```
sby -f imemcheck.sby
sby -f dmemcheck.sby
```

### Todo:
- Integrate others VexRiscv configurations into the framework
- Add Instruction Memcheck check
- Add Data Memcheck check
- Add Checking for equivalence of core with and without RVFI check
- Add Complete check
- Add Cover check
ProTip! Use n and p to navigate between commits in a pull request.