Title: CAD Tutorial: VHDL
1CAD TutorialVHDL
- Xilinx ISE 5
- Student Edition
2General Information
- You will be using the Xilinx ISE 5 Student
Edition and ModelSim tools - Computer Aided Design (CAD) tools are available
on most PCs (running Windows XP) in the CEC
laboratory - FYI these are student versions of the tools
widely used in industry for logic design and
simulation - Xilinx is the largest vendor of
Field-Programmable Gate Array (FPGA) devices, a
type of programmable hardware see
http//www.xilinx.com for more information - Accessing the tools
- Start ? Engineering ? Xilinx ISE 5 ? Project
Navigator - When turning in assignments, be sure to print
both your schematic and the waveform from the
simulation - Steps are very similar to the Schematic Capture
Tutorial
3Starting New Project
- Start Project Navigatorby selecting
- Start
- ? Engineering
- ? Xilinx ISE 5
- ? Project Navigator
File ? New Project
Specifyname and location
SpecifyVirtex 2 and XST VHDL
4Starting New VHDL Module
Project? New Source
Select VHDL Module
enter name
5Port Definition Select I/Os
Select correct polarity (input or output)
6Verify Port Definition
Verify I/Os then select Finish
7Generated VHDL Skeleton Code
8Completing the code fill-in architecture
Enter circuit description in the architecture
section between begin and end Behavioral
Save description when finished
9Simulation
- Steps for generating the testbench and expected
results are identical for VHDL and schematic
capture - Steps for simulating modules are identical as
well - The following slides are included as reminders
10Simulating Circuit
Project? New Source
select test bench waveform
11Simulation timing
You may use default timing values, or enter 10 in
both and ns for Time Scale to shorten simulation
time
Click OK
12Specifying Inputs to Circuit
define input waveforms by clicking to create
transitions
note how all combinations of inputs are defined
Window shows generated VHDL code for
testbench (ignore for now)
13Generating Expected Results
double-click here to generate expected results
expected results shown in HDL Bencher
quit without saving
finally, double-click here to do full simulation
14Running Simulation
main ModelSim command window
zoom controls
restart and Run all buttons
waveforms appear here