Altera Home Page
Literature Licensing
Buy On-Line Download

  Home   |   Products   |   Support   |   End Markets   |   Technology Center   |   Education & Events   |   Corporate   |   Buy On-Line  
  Knowledge Database   |   Devices   |   Design Software   |   Intellectual Property   |   Design Examples   |   mySupport   |   Reference Designs  

 Products
      MAX/MAX II
      Stratix/Stratix GX
      Nios II
  
 Functionality
      Arithmetic
      Memory
      Bus & I/O
      Logic
      Interfaces & Peripherals
      DSP
      Communications
      PLL & Clocking
  
 Design Entry
      Quartus II Project
      Tcl
      VHDL
      Verilog HDL
      C Code Examples
      DSP Builder
      TimeQuest
   On-Chip Debugging
  
 Simulation Tools
      Mentor Graphics ModelSim
      Cadence NCsim
      Synopsys VCS
  
 Legacy Examples
      Graphic Editor
      AHDL
  

ModelSim Tcl Scripting Examples

Table 1 contains Tcl script examples that demonstrate a setup for Altera® libraries with the Mentor Graphics® ModelSim® SE and PE software. ModelSim-Altera edition and ModelSim-Altera Web Edition come with pre-compiled Altera libraries. Table 1 also contains examples that demonstrate a functional simulation for Altera memories and a timing simulation of a phase-locked loop (PLL) circuits inside Altera devices. For more information on Tcl and ModelSim, refer to the Mentor Graphics ModelSim Support (PDF) chapter of the Quartus® II Handbook (PDF).

Table 1. ModelSim Tcl Script Examples
Tcl Scripts Description
Library Setup Script (Verilog HDL) 

Library Setup Script (VHDL)

These scripts demonstrate how to set up Altera libraries for the ModelSim SE or PE simulator using behavioral simulation library files available in the Quartus II software. These scripts are not intended for use with the ModelSim-Altera software.
Altera Memory Behavioral Simulation This script demonstrates how to perform a simulation using Altera memory files, including RAM Initialization Files (.rif) and Hexadecimal (Intel-format) Files (.hex).
PLL Post-Fit Timing Simulation This script demonstrates how to perform a PLL timing simulation using the +transport_int_delays and +transport_path_delays options.


ModelSim-Altera Support - Get Answers

View Online ModelSim-Altera Demonstrations

  Please Give Us Feedback