Professional Documents
Culture Documents
OBJECTIVES
To simulate and test onboard switches and LED’s using Verilog code and to
implementthe same in FPGA.
INTRODUCTION
Verilog Code:
Page | 1
DSD lab Manuals LAB13
NET "a[7]" LOC = "p74" ;
NET "y[0]" LOC = "p96" ;
NET "y[1]" LOC = "p92" ;
NET "y[2]" LOC = "p90" ;
NET "y[3]" LOC = "p89" ;
NET "y[4]" LOC = "p87" ;
NET "y[5]" LOC = "p86" ;
NET "y[6]" LOC = "p85" ;
NET "y[7]" LOC = "p84" ;
PROCEDURE:
Software part:
11. Click on the Xilinx ISE9.1i or Xilinx Project navigator icon on the desktop of PC.
12. Write the Verilog code, check syntax, view RTL schematic and note the device
utilization summary by double clicking on the synthesis in the process window.
13. Open a new UCF file and lock the pins of the design with FPGA I/O pins.
14. Implement the design by double clicking on the implementation tool selection.
15. Create programming file (i.e., bit file) for downloading into the device.
Hardware part:
- Connect the power supply cable to the FPGA kit using power supply adapter.
- Connect the FPGA kit to the parallel port of the PC through the cable
provided along with the kit.
- Run the program on the fpga board.
2
DSD lab Manuals LAB13
RTL Schematic:
RESULT:
Thus the onboard switches and LEDs were designed using Verilog HDL and it was
simulated and tested in the FPGA device
3
Observations/Comments/Explanation of Results