11.07.2015 Views

ModelSim SE Tutorial

ModelSim SE Tutorial

ModelSim SE Tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Basic simulation flow T-13Basic simulation flowThe following diagram shows the basic steps for simulating a design in <strong>ModelSim</strong>.Create a working libraryCompile design filesRun simulationDebug resultsCreating the working libraryIn <strong>ModelSim</strong>, all designs, be they VHDL, Verilog, SystemC, or some combination thereof, are compiled into a library. Youtypically start a new simulation in <strong>ModelSim</strong> by creating a working library called "work". "Work" is the library name used by thecompiler as the default destination for compiled design units.Compiling your designAfter creating the working library, you compile your design units into it. The <strong>ModelSim</strong> library format is compatible across allsupported platforms. You can simulate your design on any platform without having to recompile your design.Running the simulationWith the design compiled, you invoke the simulator on a top-level module (Verilog) or a configuration or entity/architecture pair(VHDL). Assuming the design loads successfully, the simulation time is set to zero, and you enter a run command to beginsimulation.<strong>ModelSim</strong> <strong>SE</strong> <strong>Tutorial</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!