2.2. Step 2: Programming the FPGA
To use the System Console Tcl Console to issue commands that configure (program) the FPGA with the blink design example, follow these steps:
- Make sure that you have a proper connection between the USB Blaster cable on your PC USB port and the USB Blaster port on the development board.
- To specify the service path to the target FPGA, run the following command in the Tcl Console to assign the service path to a d_path variable:
set d_path [lindex [get_service_paths device] 0 ]
- To download the configuration .sof file to the device, run the following command:
device_download_sof $d_path output_files/blink.sof