Altera Dynamic Calibrated On-Chip Termination User Manual
Page 13

3–6
Chapter 3: Functional Description
Functional Simulation in the ModelSim-Altera Software
Dynamic Calibrated On-Chip Termination (ALTOCT) Megafunction
February 2012
Altera Corporation
User Guide
Functional Simulation in the ModelSim-Altera Software
The design is simulated in the ModelSim®-Altera software to generate a waveform
display of the device behavior. You should be familiar with the ModelSim-Altera
software before using the design examples. To get started with the ModelSim-Altera
software, refer to the
page on the Altera website.
The support page includes links to such topics as installation, usage, and
troubleshooting.
Set up and simulate the design in the ModelSim-Altera software by performing the
following steps:
1. Unzip the altoct_ex_msim.zip file to any working directory on your PC.
2. Start the ModelSim-Altera software.
3. On the File menu, click Change Directory.
4. Select the folder in which you unzipped the files.
5. Click OK.
6. On the Tools menu, select TCL, then click Execute Macro.
7. Select the altoct_ex_msim.do file and click Open. The altoct_ex_msim.do file is a
script file used by the ModelSim-Altera software to automate all the necessary
settings for the simulation.
8. Verify the results shown in the Waveform Viewer window.
You can rearrange signals, remove signals, add signals, and change the radix by
modifying the script in altoct_ex_msim.do accordingly.