f4pga-examples/xc7/picosoc_demo
Joshua Fife 20d3fa8026 added symplified download instructions
Signed-off-by: Joshua Fife <jpfife17@gmail.com>
2021-11-11 13:47:47 -07:00
..
Makefile fixed documentation and makefiles. Renamed common makefile. 2021-11-11 13:47:47 -07:00
README.rst added symplified download instructions 2021-11-11 13:47:47 -07:00
arty.pcf picosoc: Add arty35 and arty100 boards 2020-12-15 10:25:58 +01:00
arty.v formatted files 2021-05-13 12:07:40 -06:00
basys3.pcf Remove the extra examples directory. 2020-07-29 12:26:38 -07:00
basys3.v formatted files 2021-05-13 12:07:40 -06:00
nexys4ddr.pcf Something must have been wired incorrectly before. Now, the USB-UART is working correctly without any issues 2021-05-02 22:02:45 +00:00
nexys4ddr.v Something must have been wired incorrectly before. Now, the USB-UART is working correctly without any issues 2021-05-02 22:02:45 +00:00
picorv32.v Remove the extra examples directory. 2020-07-29 12:26:38 -07:00
picosoc.sdc picosoc: Add arty35 and arty100 boards 2020-12-15 10:25:58 +01:00
picosoc_noflash.v formatted files 2021-05-13 12:07:40 -06:00
progmem.v formatted files 2021-05-13 12:07:40 -06:00
simpleuart.v formatted files 2021-05-13 12:07:40 -06:00

README.rst

PicoSoC demo
~~~~~~~~~~~~

This example features a picorv32 soft CPU and a SoC based on it. To build the picosoc example, first navigate to the directory that contains examples for Xilinx 7-Series FPGAs. Then run the following commands:

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

   TARGET="arty_35" make -C picosoc_demo


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

   TARGET="arty_100" make -C picosoc_demo


.. code-block:: bash
   :name: example-picosoc-nexys4ddr-group

   TARGET="nexys4ddr" make -C picosoc_demo


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

   TARGET="basys3" make -C picosoc_demo

At completion, the bitstreams are located in the build directory:

.. code-block:: bash

   cd picosoc_demo/build/<board>

Now you can upload the design with:

.. code-block:: bash

   TARGET="<board type>" make download -C picosoc_demo


You should observe the following line in the OpenOCD output:

.. code-block::

   Info : JTAG tap: xc7.tap tap/device found: 0x0362d093 (mfg: 0x049 (Xilinx), part: 0x362d, ver: 0x0)

The UART output should look as follows:

.. code-block::

   Terminal ready
   Press ENTER to continue..
   Press ENTER to continue..
   Press ENTER to continue..
   Press ENTER to continue..

    ____  _          ____         ____
   |  _ \(_) ___ ___/ ___|  ___  / ___|
   | |_) | |/ __/ _ \___ \ / _ \| |
   |  __/| | (_| (_) |__) | (_) | |___
   |_|   |_|\___\___/____/ \___/ \____|


   [9] Run simplistic benchmark

   Command>

.. note::

   PicoSoC uses baud rate of ``460800`` by default.

The board's LED should blink at a regular rate from left to the right

.. image:: ../../docs/images/picosoc-example-basys3.gif
   :width: 49%
   :align: center