Entity arith_counter_ring
Block Diagram of arith_counter_ring
This module implements an up/down ring-counter with loadable initial value
(seed
) on reset. The counter can be configured to a Johnson counter by
enabling INVERT_FEEDBACK
. The number of counter bits is configurable with
BITS
.
Name |
Type |
Default |
Description |
---|---|---|---|
BITS |
positive |
||
INVERT_FEEDBACK |
boolean |
FALSE |
FALSE -> ring counter; TRUE -> johnson counter |
Name |
Type |
Direction |
Description |
---|---|---|---|
Clock |
std_logic |
in |
|
Reset |
std_logic |
in |
|
seed |
std_logic_vector |
in |
|
inc |
std_logic |
in |
|
dec |
std_logic |
in |
|
value |
std_logic_vector |
out |
counter value |
×