17 Commits (05965592f963101247aaa688122d904331cc8f08)

Author SHA1 Message Date
Jean-François Nguyen 951ca2cdfb cores/microwatt: add checks for add/subtract instructions. 2 years ago
Jean-François Nguyen baaac86be1 cores/microwatt: add checks for MTSPR and MFSPR instructions. 2 years ago
Jean-François Nguyen 21be78c4f8 cores/microwatt: add checks for compare instructions. 2 years ago
Jean-François Nguyen a413025fcb Update SPR interface and split consistency check.
* Use bitmasks to describe SPR accesses at the field granularity.

* Use separate checks for each SPR, instead of covering them all at
  once. Users may run them in the same batch, and know which SPR passes
  or fails its check.
2 years ago
Jean-François Nguyen e3f4bf6e24 cores/microwatt: add check for MCRF instruction. 2 years ago
Jean-François Nguyen 2c0b22b96c cores/microwatt: add checks for CR logical instructions. 2 years ago
Jean-François Nguyen 9ea58a47a9 Refactor to facilitate integration with CLIs and config files.
* Checks are now split in two modules: checks.cons for consistency
  checks, checks.insn for instructions.

* Checks are derived from PowerFVCheck and have a shorthand (e.g.
  "insn_b"). PowerFVCheck holds a mapping between its subclasses and
  their shorthands.

* Instruction checks definitions have been simplified to one-liners,
  and grouped into a single file.

* A Trigger class has been added to define testbench triggers.
2 years ago
Jean-François Nguyen 5c097b9474 checks._branch: fix branches to LR/CTR/TAR.
- remove check for undefined mnemonics (afaiu, their BO value isn't illegal).
- add check for illegal bcctr/bcctrl forms (with BO(2) = 0).
- fix target offset for branches to LR/CTR/TAR.
- use MSR.SF to check the upper bits of target addresses.
2 years ago
Jean-François Nguyen 58bef1a741 checks: add checks for branch instructions. 2 years ago
Jean-François Nguyen 5c9bc3e68c cores/microwatt: add support for concurrent execution of formal checks. 2 years ago
Jean-François Nguyen ed2122d940 cores/microwatt: add support for SPRCheck. 2 years ago
Jean-François Nguyen ca66e3a45e cores/microwatt: add support for CRCheck. 2 years ago
Jean-François Nguyen 5076bdb9eb cores/microwatt: add support for GPRCheck. 2 years ago
Jean-François Nguyen 6922b4bd53 cores/microwatt: add support for IAForwardCheck.
Also, use non-default cache sizes for faster verification.
2 years ago
Jean-François Nguyen 935110411f cores/microwatt: update demo. 2 years ago
Jean-François Nguyen 0cf05e305e cores/microwatt: update proof-of-concept. 2 years ago
Jean-François Nguyen cce0fa0729 Add Microwatt proof-of-concept. 2 years ago