Agenda ■ Basic Simulation Steps ■ User Interface Functional simulation Quartus Output Simulation Files Timing Simulation
Agenda ◼ Basic Simulation Steps ◼ User Interface ◼ Functional Simulation ◼ Quartus Output Simulation Files ◼ Timing Simulation
Model Technology's Modelsim Main window. Source window. Structure Window Wave& List Windows Process Window. Signals variables Windows Dataflow Window
12 Model Technology’s ModelSim Main Window: Structure Window Process Window: Signals & Variables Windows: Dataflow Window: Source Window: Wave & List Windows:
Model sim Execution methods a Interactive Command Line(Cmd) Only interface is a command line console, no User Interface User Interface(UI) Can accept menu input and command line input Main discussion of class ■ Batch mode Run batch files from dos or UNIX prompt Not discussed
13 ModelSim Execution Methods ◼ Interactive Command Line (Cmd) – Only interface is a command line console, no User Interface ◼ User Interface (UI) – Can accept menu input and command line input – Main discussion of class ◼ Batch Mode – Run batch files from DOS or UNIX prompt – Not discussed
Basic Simulation Steps 1 Create library(s) 2 E Map library to physical directory 3 Compile source code All HDL Code must be compiled Different for Verilog and VHDL 4 Start simulator 5→ Advance simulator
14 Basic Simulation Steps 1 Create library(s) 2 Map library to physical directory 3 Compile source code - All HDL Code must be compiled - Different for Verilog and VHDL 4 Start simulator 5 Advance simulator
1 E Creating ModelSim library(s) delsim altera 5.3d Altera Edit View Run Macro Options window Help # Reading Create a New Library /ysim/pref ModelSim> View Library Contents. Load New Design. End Simulation. UIFrom within Main Window Design - Create a New Library Cmd) From within Main transcript window ModelSim> vlib <library name>
15 1 Creating ModelSim library(s) UI) From within Main Window: Design -> Create a New Library Cmd) From within Main, transcript window: ModelSim> vlib <library name>