Skip to content

Commit

Permalink
refactor: dontcare internal state in ConnectHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyic00 committed Jan 5, 2024
1 parent 0c31780 commit cd1ea22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/main/scala/rvspeccore/checker/ConnectHelper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ object ConnectCheckerResult extends ConnectHelper {
checker.io.result.reg := regVec
checker.io.result.pc := DontCare

checker.io.result.internal := DontCare

if (checker.io.mem != None) {
val mem = Wire(new MemSig)
val dtlbmem = Wire(new TLBSig)
Expand Down
2 changes: 0 additions & 2 deletions src/test/scala/rvspeccore/checker/ConnectHelperSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ class ConnectHelperSpec extends AnyFlatSpec with ChiselScalatestTester {
val csr = ConnectCheckerResult.makeCSRSource()
csr := now.csr
ConnectCheckerResult.setChecker(checker)

checker.io.result.internal := DontCare
}

it should "pass RiscvTests without mem check" in {
Expand Down

0 comments on commit cd1ea22

Please sign in to comment.