Update to latest risc-v-formal

This commit is contained in:
Miodrag Milanovic 2022-04-04 16:37:43 +02:00
parent e1620c68b2
commit 32a5206541
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,8 @@ case class RvfiPort() extends Bundle with IMasterSlave {
val trap = Bool
val halt = Bool
val intr = Bool
val mode = Bits(2 bits)
val ixl = Bits(2 bits)
val rs1 = RvfiPortRsRead()
val rs2 = RvfiPortRsRead()
val rd = RvfiPortRsWrite()
@ -91,6 +93,8 @@ class FormalPlugin extends Plugin[VexRiscv]{
rvfi.trap := False
rvfi.halt := False
rvfi.intr := False
rvfi.mode := 3
rvfi.ixl := 1
// rvfi.rs1.addr := output(INSTRUCTION)(rs1Range).asUInt
// rvfi.rs2.addr := output(INSTRUCTION)(rs2Range).asUInt
// rvfi.rs1.rdata := output(RS1)