Commit 9c4dc93b authored by Yuxiao Mao's avatar Yuxiao Mao
Browse files

Prime: remove unused patterns

parent 43514c3b
......@@ -218,12 +218,12 @@ class DetectPatternPrimeInternal(params: DetectPatternPrimeParams)(implicit mp:
override def regmap(offset: Int) =
RegmapUtil.countEvent(atk_prime_1, in.resetCounters, offset + 0x0, "AtkPrime1") ++
RegmapUtil.countEvent(atk_prime_2, in.resetCounters, offset + 0x4, "AtkPrime2") ++
RegmapUtil.countEvent(atk_primeinst_1, in.resetCounters, offset + 0x10, "AtkPrimeInst1") ++
RegmapUtil.countEventMax(atk_prime_1, in.resetCounters, atk_prime_mix1_dec, offset + 0x20, "AtkPrimeMix1") ++
RegmapUtil.countEventMax(atk_prime_1, in.resetCounters, atk_prime_mix2_dec, offset + 0x30, "AtkPrimeMix2") ++
RegmapUtil.countEvent(atk_prime_phy_1, in.resetCounters, offset + 0x40, "AtkPrimePhy1") ++
RegmapUtil.countEvent(atk_prime_phy_2, in.resetCounters, offset + 0x44, "AtkPrimePhy2") ++
// RegmapUtil.countEvent(atk_prime_2, in.resetCounters, offset + 0x4, "AtkPrime2") ++
// RegmapUtil.countEvent(atk_primeinst_1, in.resetCounters, offset + 0x10, "AtkPrimeInst1") ++
// RegmapUtil.countEventMax(atk_prime_1, in.resetCounters, atk_prime_mix1_dec, offset + 0x20, "AtkPrimeMix1") ++
// RegmapUtil.countEventMax(atk_prime_1, in.resetCounters, atk_prime_mix2_dec, offset + 0x30, "AtkPrimeMix2") ++
// RegmapUtil.countEvent(atk_prime_phy_1, in.resetCounters, offset + 0x40, "AtkPrimePhy1") ++
// RegmapUtil.countEvent(atk_prime_phy_2, in.resetCounters, offset + 0x44, "AtkPrimePhy2") ++
Nil
}
......
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