Visible to Intel only — GUID: sam1412657965416
Ixiasoft
Simulating the shift_clk Design in the ModelSim-Altera Software
This ModelSim design example is for the ModelSim-Altera (Verilog) version. To simulate the design in the ModelSim-Altera software, follow these steps:
- Download and unzip the shift_clk_msim.zip file to any working directory on your PC.
- Locate the folder in which you unzipped the files to, and open the shift_clk.do file in a text editor.
- In line 1 of the shift_clk.do file, replace <insert_directory_path_here> with the directory path of the appropriate library files. For example, C:/Modeltech_ae/altera/verilog/stratix.
- On the File menu, click Save.
- Start the ModelSim-Altera software.
- On the File menu, click Change Directory.
- Select the folder in which you unzipped the files. Click OK.
- On the Tools menu, click TCL and click Execute Macro.
- Select the shift_clk.do file and click Open. The shift_clk.do fileis a script file for the ModelSim-Altera software to automate all the necessary settings for the simulation.
- The Waveform Viewer appears. Verify the waveform shown in the viewer.
The following figure shows the expected simulation results in the ModelSim-Altera software.
Figure 24. ModelSim Simulation Results