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:
TARGET="arty_35" make -C picosoc_demo
TARGET="arty_100" make -C picosoc_demo
TARGET="nexys4ddr" make -C picosoc_demo
TARGET="basys3" make -C picosoc_demo
At completion, the bitstreams are located in the build directory:
cd picosoc_demo/build/<board>
Now you can upload the design with:
TARGET="<board type>" make download -C picosoc_demo
You should observe the following line in the OpenOCD output:
Info : JTAG tap: xc7.tap tap/device found: 0x0362d093 (mfg: 0x049 (Xilinx), part: 0x362d, ver: 0x0)
The UART output should look as follows:
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