f4pga-examples/xc7/counter_test
Alessandro Comodi 8ae95b0d8d xc7: add zynq counter test
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-12-15 11:39:23 +01:00
..
Makefile xc7: add zynq counter test 2020-12-15 11:39:23 +01:00
README.rst xc7: Add README for counter_test 2020-12-11 10:34:04 +01:00
arty.xdc xc7: add zynq counter test 2020-12-15 11:39:23 +01:00
basys3.xdc xc7: add zynq counter test 2020-12-15 11:39:23 +01:00
counter.v xc7: add zynq counter test 2020-12-15 11:39:23 +01:00
counter_zynq.v xc7: add zynq counter test 2020-12-15 11:39:23 +01:00
zybo.xdc xc7: add zynq counter test 2020-12-15 11:39:23 +01:00

README.rst

Counter test
~~~~~~~~~~~~

This example design features a simple 4-bit counter driving LEDs. To build the
counter example, depending on your hardware, run:

.. code-block:: bash
   :name: example-counter-a35t-group

   TARGET="arty_35" make -C counter_test


.. code-block:: bash
   :name: example-counter-a100t-group

   TARGET="arty_100" make -C counter_test


.. code-block:: bash
   :name: example-counter-basys3-group

   TARGET="basys3" make -C counter_test

Now you can upload the design with:

.. code-block:: bash

   openocd -f ${INSTALL_DIR}/conda/share/openocd/scripts/board/digilent_arty.cfg -c "init; pld load 0 top.bit; exit"


The result should be as follows:

.. image:: ../../docs/images/counter-example-arty.gif
   :align: center
   :width: 50%