diff --git a/src/main/scala/subsystem/Configs.scala b/src/main/scala/subsystem/Configs.scala index fff79db1421..5e232cac639 100644 --- a/src/main/scala/subsystem/Configs.scala +++ b/src/main/scala/subsystem/Configs.scala @@ -447,11 +447,12 @@ class WithFPUWithoutDivSqrt extends Config((site, here, up) => { } }) -class WithRocketDebugROB(enable: Boolean = false, size: Int = 0) extends Config((site, here, up) => { +class WithRocketDebugROB(enable: Boolean = true, size: Int = 0) extends Config((site, here, up) => { case TilesLocated(InSubsystem) => up(TilesLocated(InSubsystem), site) map { - case tp: RocketTileAttachParams => tp.copy(tileParams = tp.tileParams.copy( - core = tp.tileParams.core.copy(debugROB = Some(DebugROBParams(size))) - )) + case tp: RocketTileAttachParams if (enable) => + tp.copy(tileParams = tp.tileParams.copy( + core = tp.tileParams.core.copy(debugROB = Some(DebugROBParams(size))) + )) } })