1 / 41

ECE – 329 Fall 2007 Lab Manual for Xilinx Example: Design and simulation of a Half Adder

ECE – 329 Fall 2007 Lab Manual for Xilinx Example: Design and simulation of a Half Adder Instructor: Dr.Botros. Click on the FILE menu and select New Project. Name the New Project as follows. Change the VALUES accordingly. The following window appears on your screen…….

Download Presentation

ECE – 329 Fall 2007 Lab Manual for Xilinx Example: Design and simulation of a Half Adder

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. ECE – 329 Fall 2007 Lab Manual for Xilinx Example: Design and simulation of a Half Adder Instructor: Dr.Botros

  2. Click on the FILE menu and select New Project.

  3. Name the New Project as follows. Change the VALUES accordingly.

  4. The following window appears on your screen……

  5. Right click on XCV…….. and select New Source.

  6. The following window appears……

  7. Select “Schematic” and change the name of the file as shown….. Click on NEXT

  8. The following window appears…..click on Finish

  9. The following window opens up:

  10. Click on Symbols tab and select Logic from the categories…..

  11. Select and2 from the symbols….

  12. Place the 2-input AND gate on the schematic window as shown:

  13. Similarly select the xor2 and place it on the schematic window and then select the options tab as shown below:

  14. Click the “Add Wire” button as shown:

  15. Draw wires starting from the gate ends as shown below:

  16. Click on the “Add I/O Marker” and select the “Add input marker” option in the options tab as shown….

  17. Place the two pins as shown :

  18. Now again, click the “Add Wire” button

  19. Make the connections as shown…..

  20. Right click on the XLXN_1 pin and select Rename

  21. The following window appears….

  22. Rename the branch’s net to “a” and click OK

  23. Follow the above procedure to rename the XLXN_2 pin to “b”

  24. Now again, click the “Add I/O Marker” and select the “Add output marker” option in the options tab.

  25. Place the pins as follows…..

  26. Rename the output pins as follows….

  27. Rename XLXN_5 to Cout and XLXN_6 to Sum.

  28. Now click on the “Save All” icon to save all the work u did so far.

  29. In the main project navigator window, highlight the halfadder.sch as shown……

  30. Now click the “+” ahead Design Entry Utilities to get the following…..

  31. Select the Launch ModelSim Simulator and double click on it.

  32. The following window appears……

  33. In the signals window, highlight the signal “a” :

  34. Now click on the “Edit” menu and select “clock”

  35. In the “define clock window” , change the period to 1000 (not 100 ) Period = 1000

  36. Do the same for signal “b” but change the period to 2000(not 200) Period = 2000 Click OK.

  37. The following screen appears….

  38. Maximize the Wave-Default window and click on RUN as shown…

  39. The following waveform appears. Place the cursor accordingly to check for the correct output values for all combinations of “a” and “b”. there is a delay of 100ps which you can ignore while checking for the output values.

More Related