1 introduction to xilinx isl8.1i & 11.1 schematic capture and vhdl 1
TRANSCRIPT
1
Introduction to Xilinx ISL8.1i & 11.1
Schematic Capture and VHDL
1
Using Xilinx ISE 8.1i
2
Using Xilinx ISE 8.1i1. Start/All Programs2. Locate Modelsim / license Wizard(Click)
3
Using Xilinx ISE 8.1i
3. Click Continue
4
Using Xilinx ISE 8.1i
4. Click OK (Window should be as shown)
5
Using Xilinx ISE 8.1i
5. Click Yes
6
Using Xilinx ISE 8.1i
6. Click OK
7
Using Xilinx ISE 8.1i
7. Click OK8. Repeat steps 1-7 one more time.
8
Using Xilinx ISE 11.1
9
Using Xilinx ISE 11.1
1. Before beginning, license your Xilinx ISE. 2. Double click on Xilinx ISE 11.1.3. Click oK on “NO license” window.4. Click on Help.5. Click on Manage license.6. In the XILINX_LICENSE_FILE type: [email protected]. Click Set8. In the LM_ LICENSE_FILE type: [email protected]. Click Set10. Click Close
10
11
Schematic Capture
12
New Project1. Start Xilinx ISE 8.1i project navigator by double clicking the
ISE icon on your desktop.2. Click on File and select New project
12
13
Project window3. Name your project and project location, then click next
13
14
New Project Wizard4. The Spartan Starter Kit PCB board uses a Xilinx Spartan3 XCS200
FPGA chip which is packaged in a flat thin 256-pin (FT256) ball Grid Array. Set these values the new project Wizard window,
14
15
Create New Source 5. We will add our sources to this project later, so here we skip the
following two steps (create source and add source). Click on Next.
15
16
Project Summary
6. Check the project summary and click Finish
16
17
Schematic Capture1. Now we will create a blank sheet for schematic capture.
First, click the project and new Source menu.
17
18
Schematic Capture
18
2. Click Schematic and type in the name for your schematic. Select add to project before clicking Next.
19
Schematic Capture3. Check over the summary and click on Finish
19
20
Schematic Capture
20
4. Check over the Design Summary
21
Schematic Capture5. Double click on CCB(CCB.CH) in the source window. You now
have the schematic sheet window. Click on the hammer and the schematic window will appear.
21
22
Schematic Capture
6. Click on the Hammer again
23
Schematic Capture7. Select View and click on Processes
23
24
Schematic Capture8. Click on Add Symbol and locate
a two input and gate (and2)
25
Schematic Capture9. Drag the and2 gate onto the schematic sheet.
Press ESC after each item.
26
Schematic Capture10. Repeat until you have two and2, one or2 and one inv
components on the schematic sheet
27
Schematic Capture12. Click on the wiring tool and wire the schematic as shown.
28
Schematic Capture13. Select the Add I/O Marker and connect the I/O markers
as shown
29
Schematic Capture
14. Double click on each input and output and name them.
30
Schematic Capture15. Schematic with names as shown. F8 zooms the circuit
in and F7 zooms the circuit out.
31
Design Verification
32
Design Verification
1. Click on Design summary
33
Design Verification
2. Select Behavioral Simulation and double click on CCB1.sch
34
Design Verification
3. Click on Processes
35
Design Verification
4. Expand ModelSim Simulator
36
Design Verification
5. Double click on Simulate Behavioral Model
37
Design Verification6. This is the window that appears
38
Design Verification7. At VSIM2> type in force signal-name state-value time as
shown. Enter after run will run the simulation.
39
Synthesize the Design
40
Synthesize the Design1. Click on Xilinx-ISE to get Design Summary and select as shown by
the arrows
41
Synthesize the Design2. Click as shown by the arrow and right click and click on run. A
design is produced.
42
Synthesize the Design
3. Select Project/New Source
43
Synthesize the Design4. Click as shown, type in the File name and click on
Next.
44
Synthesize the Design
5. This window appears, click on Next.
45
Synthesize the Design6. This window appears, click on Finish
46
Synthesize the Design7. The design summary appears, click as shown by the arrow
47
Synthesize the Design
8.
48
Synthesize the Design
9.After saving the pin arrangement, click on OK
49
Synthesize the Design10. After the constraints file has been completed, right click on
Implement Design and select Run.
50
Synthesize the Design
11. Right click on Generate Programming file and select Run
51
Synthesize the Design12. Finally, an FPGA configuration data (*.bit) file is generated.
52
Download and Verify The Design
This is the last step in the design verification process. This section provides instructions for downloading the MUX design onto the Spartan 3 PCB.
1) Connect the 5V DC power cable to the power input on the demo board (J4). (note: you may see a sequence of numbers begin to flash on the 7-segment LEDs, this is just a test configuration stored in the flash memory on the PCB and you can manipulate the various switches and button, except for the PROG button, on the PCB to see the operation of the LEDs and 7-segment displays).
2) Connect the download cable between the PC parallel port and the demo board (J7). 3) Select Synthesis/Implementation from the drop-down list in the Sources window and select Mux_Schematic or Mux_vhdl (or whatever you named you design) in the Sources Window. In the Processes window, expand the Generate Programming File process and double-click the Configure Device (iMPACT) process.
53
Download and Verify The Design1. Processes window, expand the Generate Programming File
process and double-click the Configure Device (iMPACT) process.
54
Download and Verify The Design2. iMPACT opens and the Configure Devices dialog box is displayed. In the
Welcome dialog box, select Configure devices using Boundary-Scan (JTAG). Verify that Automatically connect to a cable and identify Boundary-Scan chain is selected. Click Finish.
55
Download and Verify The Design3. When programming is complete, the Program
Succeeded message is displayed.
56
Download and Verify The Design
4. Close iMPACT without saving. Your design is downloaded into the FPGA and you can begin to verify the design by manipulating swithes/buttons and observing LEDs as specified in your design.