410 likes | 564 Views
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…….
E N D
ECE – 329 Fall 2007 Lab Manual for Xilinx Example: Design and simulation of a Half Adder Instructor: Dr.Botros
Name the New Project as follows. Change the VALUES accordingly.
Select “Schematic” and change the name of the file as shown….. Click on NEXT
Click on Symbols tab and select Logic from the categories…..
Place the 2-input AND gate on the schematic window as shown:
Similarly select the xor2 and place it on the schematic window and then select the options tab as shown below:
Click on the “Add I/O Marker” and select the “Add input marker” option in the options tab as shown….
Now again, click the “Add I/O Marker” and select the “Add output marker” option in the options tab.
Now click on the “Save All” icon to save all the work u did so far.
In the main project navigator window, highlight the halfadder.sch as shown……
Now click the “+” ahead Design Entry Utilities to get the following…..
Select the Launch ModelSim Simulator and double click on it.
In the “define clock window” , change the period to 1000 (not 100 ) Period = 1000
Do the same for signal “b” but change the period to 2000(not 200) Period = 2000 Click OK.
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.