.. _IP:arith_counter_ring: PoC.arith.counter_ring ###################### .. only:: html .. |gh-src| image:: /_static/logos/GitHub-Mark-32px.png :scale: 40 :target: https://github.com/VLSI-EDA/PoC/blob/master/src/arith/arith_counter_ring.vhdl :alt: Source Code on GitHub .. |gh-tb| image:: /_static/logos/GitHub-Mark-32px.png :scale: 40 :target: https://github.com/VLSI-EDA/PoC/blob/master/tb/arith/arith_counter_ring_tb.vhdl :alt: Source Code on GitHub .. sidebar:: GitHub Links * |gh-src| :pocsrc:`Sourcecode ` * |gh-tb| :poctb:`Testbench ` 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``. .. rubric:: Entity Declaration: .. literalinclude:: ../../../src/arith/arith_counter_ring.vhdl :language: vhdl :tab-width: 2 :linenos: :lines: 41-54 .. only:: latex Source file: :pocsrc:`arith/arith_counter_ring.vhdl `