Commit 43514c3b authored by Yuxiao Mao's avatar Yuxiao Mao
Browse files

Timer remove unused pattern mmio

parent 1b69fbdc
......@@ -66,11 +66,12 @@ class DetectPatternTimerInternal(params: DetectPatternTimerParams)(implicit mp:
override def regmap(offset: Int) =
(if (params.withTimerTimer) {
RegmapUtil.countEventThreshAlarm(atk_timer_timer, in.resetCounters, offset, "AtkTimerTimer") ++
// RegmapUtil.countEventThreshAlarm(atk_timer_timer, in.resetCounters, offset, "AtkTimerTimer") ++
RegmapUtil.countEvent(atk_timer_timer2, in.resetCounters, offset + 0x10, "AtkTimerTimer2") ++
RegmapUtil.countEvent(atk_timer_timer4, in.resetCounters, offset + 0x14, "AtkTimerTimer4") ++
RegmapUtil.countEvent(atk_timer_timer8, in.resetCounters, offset + 0x18, "AtkTimerTimer8") ++
RegmapUtil.countEvent(atk_timer_timer8, in.resetCounters, offset + 0x20, "AtkTimerTimer16")
// RegmapUtil.countEvent(atk_timer_timer4, in.resetCounters, offset + 0x14, "AtkTimerTimer4") ++
// RegmapUtil.countEvent(atk_timer_timer8, in.resetCounters, offset + 0x18, "AtkTimerTimer8") ++
// RegmapUtil.countEvent(atk_timer_timer16, in.resetCounters, offset + 0x20, "AtkTimerTimer16") ++
Nil
} else Nil) ++
(if (params.withTimerFlush) {
RegmapUtil.countEventThreshAlarm(atk_timer_flush, in.resetCounters, offset + 0x80, "AtkTimerFlush")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment