---
# System prepended metadata

title: FPGA Programming
tags: [張恒豪]

---

FPGA Programming
===
###### tags: `張恒豪`
[TOC]

Click "files", then click "open project".
![](https://hackmd.io/_uploads/SyUyqx4En.png)

Be sure that you are located in the correct folder, and then open the project .xise file.
![](https://hackmd.io/_uploads/S19L9eE4h.png)

Click "Gegerate Programming File".
![](https://hackmd.io/_uploads/B12Y9gV42.png)

Connect the AC line and the DC line to the develop borad.
<font color=#ff0000><b>NOTE THE POLARITY!!!</b></font>
![](https://hackmd.io/_uploads/HJPoUb44n.jpg)

Connect the Xilinx cable to the FPGA.
![](https://hackmd.io/_uploads/rJqiaWVE2.jpg)

Connect the Xilinx cable to the PC.
![](https://hackmd.io/_uploads/Sye26ZNNh.jpg)


Plug in the AC line of the power to the socket.
![](https://hackmd.io/_uploads/Sy36D-EV3.jpg)

Right Click the USB icon at the lower left side.
![](https://hackmd.io/_uploads/Hko2qgVV3.png)

Choose "Xilinx, Inc" option in the pop-up menu.
![](https://hackmd.io/_uploads/rk3rFb4V2.png)

Wait for the USB icon stop blinking, and then right click it again.
![](https://hackmd.io/_uploads/H1VtKbNNh.png)

Choose "XILINX" option in the pop-up menu.
![](https://hackmd.io/_uploads/r1-nFb4V3.png)

Check if the bit file has been generated. If it did, click the "tool" option on the top of the ISE window. If it didn't instead, wait for it to be generated.
![](https://hackmd.io/_uploads/SkAzq-4Eh.png)

Click "iMPACT".
![](https://hackmd.io/_uploads/r1Yq5bNN3.png)

Click "OK".
![](https://hackmd.io/_uploads/r1M29W4Nh.png)

Click "Boundary Scan" twice.
![](https://hackmd.io/_uploads/HkRaqWVV3.png)

Right Click the blank region on the right side of the iMPACT window.
![](https://hackmd.io/_uploads/r1efsbVEn.png)

Choose "Initialize Chain".
![](https://hackmd.io/_uploads/rkeEibEV2.png)

Uncheck the check box, and then click "Yes".
![](https://hackmd.io/_uploads/BkJdj-4N2.png)

Check that you have selected the bit file that has the same name as the top module name in your project, and then open it.
![](https://hackmd.io/_uploads/B1uRiZVN2.png)

Click "No"
![](https://hackmd.io/_uploads/HyXlnWV4n.png)

Click "OK"
![](https://hackmd.io/_uploads/SyP-h-VN2.png)

Click "Program" to start the programming.
![](https://hackmd.io/_uploads/BkJrnW4Vh.png)

Wait for the programming to finish.
![](https://hackmd.io/_uploads/Hy-D3bN4h.png)

The word of "Program Successful" and the bright Blue LED indicate that the FPGA has been programmed successfully.
![](https://hackmd.io/_uploads/rkL-YW4Vn.jpg)
