Added two ports to br_counter_incr and br_counter_decr.
initial_value allows the user to set anything >= 0 and <= MaxValue. Previously, the incrementing counter reset to 0 and the decrementing counter reset to MaxValue.
reinit behaves similarly to rst in that it clears the counter state. However, unlike rst, the user can simultaneously reinit-and-increment/decrement the counter in the same cycle.
Fixed an implementation assert bug in br_counter_decr.
Added two ports to
br_counter_incr
andbr_counter_decr
.initial_value
allows the user to set anything>= 0
and<= MaxValue
. Previously, the incrementing counter reset to0
and the decrementing counter reset toMaxValue
.reinit
behaves similarly torst
in that it clears the counter state. However, unlikerst
, the user can simultaneously reinit-and-increment/decrement the counter in the same cycle.br_counter_decr
.Implements feature request #68.