Downloading Hummingbird Softcore to Perf-V
Download Hummingbird Softcore to Perf-V
Note: This example uses 2017.4.1 as an example to illustrate how to use it, the version is different but the usage is the same.
The Hummingbird project file has been ported to Perf-V for user convenience.
Copy the project file of Hummingbird from the company's file (in the folder named "Hummingbird Project") to the plain English directory (Vivado project does not support Chinese path).
Open Vivado 2017.4 again, as shown in the figure.
Open "open Project". find the location where you store your Hummingbird project as shown in the figure.
Open the project file as shown here.
Connect the downloader provided by the company to the JTAG port (note that it is not USERJTAG). The connection diagram is as follows.
After connecting, turn on the board power switch and click on open Hardware Manager as shown in the figure.
Click open target and then click Auto connect to automatically connect the downloader as shown in the figure.
Then click Program device as shown in the figure.
If the file in the path is the bit file path of the project, click program to complete the download. If not, please change the path to the project's bit file.
This step completes the downloading of the Hummingbird project to Perf-V, but since the bit file just downloaded will be lost when the FPGA is powered down, once the development board is powered down, the program disappears and needs to be downloaded again, so for convenience you can continue with the steps to solidify the Hummingbird file into flash, which will not be lost even if it is powered down. Next is the tutorial for curing the Hummingbird project to flash.
Open the project directory project\project_1.runs\impl_1 and search for the bit file system.bit. Copy this file to the root directory of the D drive. First, copy the system.bit generated by the project (if you cannot find it, search for the file name in the project file) to the root directory of the D drive. Then copy this command:
"write_cfgmem -format mcs -interface spix4 -size 128 -loadbit "up 0x0 D:/system.bit" -force D:/system.mcs"
to Vivado's command box, as shown in the figure.
If the bit file is generated into mcs file successfully, please check the path again. If it fails, most of the paths are wrong, please check the paths again.
Next, right click on xc7a35t_0 in the above figure and select add configuration memory device as shown in the figure.
In search, type: n25q64
Select n25q64-3.3v as shown in the figure.
Click OK, a dialog box will pop up and click OK again as shown in the figure.
In the configuration file, select the mcs file you just created in the root directory of the D drive. Click OK again to solidify the Hummingbird project into flash. It will not be lost when power is lost.