mirror of
https://github.com/chipsalliance/f4pga-examples.git
synced 2025-01-03 03:43:38 -05:00
8ae95b0d8d
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com> |
||
---|---|---|
.. | ||
arty.xdc | ||
basys3.xdc | ||
counter.v | ||
counter_zynq.v | ||
Makefile | ||
README.rst | ||
zybo.xdc |
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%