1 / 25

Digital Board

Digital Board. How to write a Simple Xilinx Program. First launch the Xilinx software program Xilinx ISE 11 When the program opens, select New Project or File -> New Project The following window will start. Digital Board.

niles
Download Presentation

Digital Board

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Digital Board How to write a Simple Xilinx Program • First launch the Xilinx software program • Xilinx ISE 11 • When the program opens, select • New Project • or File -> New Project • The following window will start

  2. Digital Board • Put in a project name, select a project location (may browse to select location [thumb drive]; best with no spaces in name) • Make sure to select schematic • Select Next

  3. Digital Board • Enter in all data as shown on right • Select Next

  4. Digital Board • Create a new source file by clicking New Source • Highlight “Schematic” and enter in a file name • Select Next, then Finish, (then Yes if needed to create directory), then Next, Next, and Finish; then be patient …

  5. Digital Board • This is what the screen looks like • Click on Lab4.sch to see the blank schematic

  6. Digital Board • Type in OR2 in the ‘Symbol Name Filter’ box then click and highlight the ‘or2’ in the ‘Symbols (that begin with …)’ box. • Move the mouse onto the schematic and you will see the 2 input OR gate. • Put a 2input OR gate, a 2 input AND (and2) gate and an inverter (inv) on the schematic as shown next

  7. Digital Board • Use the wiring tool to connect the symbols (you may have to zoom in, ctrl+mousewheel)

  8. Digital Board • Use the IO Marker tool to connect inputs and outputs • You may need to specify “Add an input marker” (or output) in the “Properties” window [accessed by the ‘Options’ menu]

  9. Digital Board Select tool to select an item • Use select tool • Rename IO markers. Inputs are A, B, C and output is X. Double click on the IO markers or the net. Rename the ‘Nets’ item • Click on Design to finish the design

  10. S3E Board Switches and Lights • The pins assigned in the next step correspond to switches on the board (inputs) and an LED (output).

  11. Digital Board • Right Click on “Lab4” and Select “Add Copy of Source” • In “File Name” box type: \\AUS206L22\CompE224_filesand hit return, then select “lab4.ucf” • Select “Open” • Select “Ok” in the “Adding Source Files …” dialog box • Save all changes (icon or under ‘File’) Save all changes

  12. UCF File • Click the “+” next to Lab4, and select the “Lab4.ucf” file • Click the “+” in the Process window next to “User Constraints”, Double click on “Edit Constraints (Text)” to view .ucf file • Select “Lab4” to return to the main “Processes” sub-window • Click on lab4.sch to see schematic

  13. To Create The UCF File Manually (1 of 4) • Select • New Source …

  14. To Create The UCF File Manually (2 of 4) • Select • Next > • Finish

  15. To Create The UCF File Manually (3 of 4)

  16. To Create The UCF File Manually (4 of 4) • Type NET lines as shown. • Select File | Save

  17. Digital Board • Select lab4 • Double click “Implement Design” in Processes window • When done, it should look like(might be orange) • You are now ready to download and test

  18. Digital Board • Double click “Generate Programming File” in the Processes window (you should get a check mark) • If you get a dialog box • Click Decline • Choose “Disable the collection of device usage statistics for all projects” • Click OK • Click OK

  19. Xilinx BoardConnections • Connect your Xilinx board to the PC with the USB cable (wear the wrist band) • Use the USB ports on the front of the PC • Make sure to not try to plug in the other end of the USB cable into the Ethernet port that is next to the USB port on the Xilinx board • Plug your board into the power supply • There is no hole cut in the plastic cover to be able to access the on/off switch on the board. Plug / unplug the power connector to turn the board on and off.

  20. Double click Configure Target Device Click Okay Opens ISE iMPACT Digital Board

  21. Digital Board • Double click Boundary Scan • Right click in ISE iMPACT main window and select “Initialize Chain” • Click yes

  22. Digital Board • Go to the current lab directory • Click lab4.bit and then Open • Click No then Bypass two times • Click Ok[Device 1 (FPGA xc3s5003) should be highlighted]

  23. Digital Board • Right click the first chip diagram and select “Program” • The FPGA will be programmed • Test the design using the switches • Save your design

  24. S3E Board Switches and Lights

  25. Sample UCF file Showing Switches and Lights

More Related