Skip to content

Commit

Permalink
[difftest] clock width use 32 instead of 64 to get better log size
Browse files Browse the repository at this point in the history
  • Loading branch information
Clo91eaf committed Jun 3, 2024
1 parent b03f146 commit ffd8e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipemu/src/TestBench.scala
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class TestBench(generator: SerializableModuleGenerator[T1, T1Parameter]) extends

withClockAndReset(clock, reset) {
// count cycle for peek tl
val cycleCounter = RegInit(0.U(32.W))
val cycleCounter = RegInit(0.U(64.W))
cycleCounter := cycleCounter + 1.U

// memory write
Expand Down

0 comments on commit ffd8e8c

Please sign in to comment.