Commit abe8bc23 authored by Yuxiao Mao's avatar Yuxiao Mao
Browse files

Timer: fix timer4, timer8 bug (was identical to timer2)

parent ac9984b9
......@@ -56,8 +56,8 @@ class DetectPatternTimerInternal(params: DetectPatternTimerParams)(implicit mp:
val atk_timer_timer8 = Wire(Bool())
atk_timer_timer := npack_timer_orR && in.pack_has_timer && in.isMonitoring
atk_timer_timer2 := npack_timer_orR2 && in.pack_has_timer && in.isMonitoring
atk_timer_timer4 := npack_timer_orR2 && in.pack_has_timer && in.isMonitoring
atk_timer_timer8 := npack_timer_orR2 && in.pack_has_timer && in.isMonitoring
atk_timer_timer4 := npack_timer_orR4 && in.pack_has_timer && in.isMonitoring
atk_timer_timer8 := npack_timer_orR8 && in.pack_has_timer && in.isMonitoring
val atk_timer_flush = Wire(Bool())
atk_timer_flush := npack_timer_orR && in.pack_has_flush && in.isMonitoring
......
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