3.5.5. Programming CvP Images
You must program the periphery image (.periph.jic) if you are using Active Serial mode and then download the core image (.core.rbf) using the PCIe Link. You can use JTAG to load different programming files (i.e. .sof/.jic/periph.pof) into your selected CvP initialization enabled Intel® Arria® 10 device.
After loading the periphery image via the JTAG port, the link should reach the expected data rate and link width. You can confirm the PCIe link status using the RW Utilities.Follow these steps to program and test the CvP functionality:
- Plug the Intel® Arria® 10 FPGA Development Kit into the PCI Express slot of the DUT PC and power it ON. Altera recommends that you use the ATX power supply that the development kit includes.
- On the host PC, open the Quartus Prime Tools menu and select Programmer.
- Click Auto Detect to verify that the USB Blaster recognizes the Intel® Arria® 10 FPGA.
- Follow these steps to program the periphery image:
Figure 8. Illustrating the specified options to the program periphery image
- Select Intel® Arria® 10 device, and then right click None under File column.
- Navigate to .periph.jic file and click Open.
- Under Program/Configure column, select the respective devices. For example, 10AX115S1E2 and EPCQL1024.
- Click start to program the periphery image into EPCQL1024 flash.
- After the .periph.jic is programmed, the FPGA must be powered cycle to allow the new peripheral image to load from the on-board flash into the FPGA. To force the host PC to re-enumerate the link with the new image, power cycle the DUT PC and the Intel® Arria® 10 FPGA Development Kit.
- You can use RW Utilities or another system software driver to verify the link status. You can also confirm expected link speed and width.
- Follow these steps to program the core image:
If you implement your own software driver to program the core image, refer to the CvP Driver Support section.If you are using the open source Linux driver, perform the following steps to program the core image:
- Copy the .core.rbf file to appropriate Quartus Prime bin install directory. Depending on the 32-bit or 64-bit system, the folder is …./quartus/bin32 or …./quartus/bin64.
- Open a Command Prompt in Windows, change the directory to the same mentioned above where the file is copied.
- Type the following command to program the core image:
quartus_cvp --vid=<Vendor ID> --did=<Device ID> xxx.core.rbf
where the value of Vendor ID and Device ID are in hexadecimal and specified in the Hard IP for PCI Express dialog box. For example, quartus_cvp --vid=1172 --did=e003 xxx.core.rbf.
- The figure below shows the results of a successful CvP programming.
Figure 9. Command Prompt Console
- Copy the .core.rbf file to your working directory.
- Open a console in Linux. Change directory to the same mentioned above where the file is copied.
- Program the core image by typing the following command:
cp *.core.rbf /dev/altera_cvp