Experiment-1 Aim: Introduction To Xilinx ISE 9.2i: Starting With A New Project
Experiment-1 Aim: Introduction To Xilinx ISE 9.2i: Starting With A New Project
Family: Spartan2
Device: XC2S200
Package: PQ208
Speed Grade: -6
If you know the names of your new source files, you can enter them now. In a few moments you will use
a different method to make a new VHDL source file. Click Next.
The final window provides a summary of all your choices for the new project. Review the list and then
click Finish.
With the new project, either click the New Source Button below the title bar or select Project => New
Source.
In the pop-up window do the following:
Click the Next button. In the next pop-up window, change the Architecture Name field to 'DataFlow',
enter the port names, and set the signal directions. The window should look like the following:
Adder Ports
Click Next. . Enter your Require Input and output ports. Click the Finish button. Review the VHDL
listing given above. Complete the architecture declaration. Your code should look similar to
the fadd.vhd file above. Select File=>Save.
Synthesizing the Example
Look in the upper left pane of the Project Navigator Window. The file name fadd.vhd should appear as
being a source in the current project. If you don't see the file name, you can add it by clicking left to
select Project => Add Source. To remove a source file from your project, right click on the file name
and select Remove. The file is not deleted, but is simply removed from the current project. Go ahead
and remove, then add the file back to the project. The file is a VHDL Design File.
You will notice that the upper left pane has a choice as to what to consider the files for. The choice
'Synthesis/Implementation' should be displayed. When a file name in the upper left pane is selected, it
becomes highlighed. The use choice and type of file selected determines what choices you have in the
lower left Processes pane. In the upper left pane, click left to highlight and select the name fadd.vhd.
In the lower left pane, right click on the keyword Synthesize. In the pop-up window select the
entry Run to run the synthesis tool. The synthesis tool verifies the syntax of the VHDL code and
generates an intermediate form that we use to perform simulation. The intermediate form is used later to
implement the design.
Test Benches, Bencher, and Simulation
A test bench is analagous to a laboratory test bench, which has signal generators, and test gear. A test
bench is special VHDL file that describes what the input will be will be, as can also be used to check that
the corresponding outputs are correct.
In the Project Navigator Window, make the following selection by either clicking the New Source icon or
pointing the mouse and left clicking:
Project => New Source
In the New dialog box, click to highlight the Test Bench Waveform entry, enter fadd_tb into the File
Name field, verify that the Add to Project box is checked, and then click Next. Be carful to not use the
name fadd here, as that is the name of your VHDL source file. The Select dialog box associates the new
file with a VHDL entity to be tested. The entry fadd should already be highlighted. Click
the Nextbutton.
The next dialog box summarizes the data entered. Click Finish to start the HDL Bencher tool and open
the Initialize Timing dialog box.