Skip to content

Commit

Permalink
TestTop: follow previous top IO
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang-Haojin committed Sep 13, 2023
1 parent 4152669 commit 807fefa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/test/scala/huancun/TestTop.scala
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,13 @@ class TestTop_L2()(implicit p: Parameters) extends LazyModule {
l2.node :=* xbar

lazy val module = new LazyModuleImp(this) {
val io = IO(new Bundle(){
val perfInfo = new PerfInfoIO
})
val timer = WireDefault(0.U(64.W))
val logEnable = WireDefault(false.B)
val clean = WireDefault(false.B)
val dump = WireDefault(false.B)
val clean = WireDefault(io.perfInfo.clean)
val dump = WireDefault(io.perfInfo.dump)

dontTouch(timer)
dontTouch(logEnable)
Expand Down

0 comments on commit 807fefa

Please sign in to comment.