tutorial 5: simulating a design. introduction this tutorial covers how to perform a functional...

22
Tutorial 5: Simulating a Design

Upload: daniel-hancock

Post on 13-Dec-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx

Tutorial 5:Simulating a Design

Page 2: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx

Introduction

• This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx software.

• A one-bit comparator was chosen as the example circuit.

Page 3: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx

One-Bit Comparator

Page 4: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx

Opening the Simulator

Simulation Icon

Tools -> Simulation/Verification -> Gate Simulator

Update Netlist

Page 5: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx

Selecting input and output signals

Chip Icon

Signal -> Add Signal

Page 6: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx
Page 7: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx

Component Selection

Select Inputs and Outputs

Add button

Double-Clicking

Close button

Page 8: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx
Page 9: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx

Test Pins

SC button

Tools -> Schematic Capture

Simulation Toolbox Icon

Mode -> Testpoint

Click on net name to create probe

Sim Icon to return

Page 10: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx
Page 11: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx

Adding Stimuli

Stimulator icon

Signal -> Add Stimulators

Binary Counter to mark inputs

Close Stimulator window

Page 12: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx
Page 13: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx

Defining the Frequency of the free-running Counter

Options -> Preferences

B0 Period drop-down list

B0 Frequency adjusts automatically

Page 14: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx
Page 15: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx

Doing the Simulation and Viewing the Waveforms

“Functional” from pull down menu

Simulation Step (footstep)

Adjust step size with pull down menu

Ruler Icon – adjust scale of time axis

Page 16: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx
Page 17: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx

Schematic Simulation

SC Icon

Logic Values of each signal

Gray Boxes -> Colored Boxes

Page 18: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx
Page 19: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx

Timing Simulation

Detailed information of timing delays

First implement design – Implementation Icon

Verification Button (Timing Simulation)

Select components from Signals Selection and Chip Selection

Close to return

Page 20: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx
Page 21: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx

Doing the Simulation and Measuring Delays

“Timing” from pull down menu

Step Icon (footsteps)

Measure Delay – Waveform -> Measurements -> Measurements on

Select start and end points

Page 22: Tutorial 5: Simulating a Design. Introduction This tutorial covers how to perform a functional simulation as well as a timing simulation with the Xilinx