Skip to content

Commit

Permalink
fix(DifftestTop): dontTouch DifftestIOs when generated by Profile (#552)
Browse files Browse the repository at this point in the history
  • Loading branch information
klin02 authored Jan 16, 2025
1 parent 07d1b3e commit 62b2728
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/scala/DifftestTop.scala
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ class SimTop(profileName: String, numCoresOption: Option[Int]) extends Module {
val numCores = numCoresOption.getOrElse(profile.numCores)
val bundles = (0 until numCores).flatMap(coreid =>
profile.bundles.zipWithIndex.map { case (p, i) =>
DifftestModule(p.toBundle, true, p.delay).suggestName(s"gateway_${coreid}_$i")
val io = DifftestModule(p.toBundle, true, p.delay).suggestName(s"gateway_${coreid}_$i")
dontTouch(io)
}
)
DifftestModule.generateSvhInterface(bundles, numCores)
Expand Down

0 comments on commit 62b2728

Please sign in to comment.