Iowa State University CPR E 281 ModelSim Digital Logic Guide

This lab guide explains using ModelSim for digital logic simulation in CPR E 281, covering VDI access, project setup, Verilog files, compilation…


Iowa State University CPR E 281 ModelSim Digital Logic Guide - cover page
Brand
Iowa State University
Category
Educational software
Document type
User Manual
Language
English
Pages
11
File format
PDF
File size
911 KB
Published
11 November, 2026
Updated
11 November, 2026
MD5 checksum
1E3FFB53AC2A4E6190264D2224CBE5D7

About this manual

This guide provides step-by-step instructions for students in the CPR E 281 course to simulate digital logic circuits using ModelSim software via the university's virtual desktop infrastructure (VDI). It covers connecting to the VDI, creating a new ModelSim project, adding Verilog HDL files, and converting Quartus block diagrams to Verilog.

The document then details compiling files, starting a simulation, adding waveforms, forcing input values for edge-case testing, and running simulations with the 'run 100' command. It concludes with a note to contact the lab teaching assistant for questions.

What's inside

  • Introduction
  • Connecting to VDI
  • Creating a New Project
  • Adding Verilog Files
  • Converting Block Diagrams with Quartus
  • Compiling Files
  • Starting a Simulation
  • Edge-Case Testing
  • Questions

Frequently asked questions

How do I create a new project in ModelSim?

After starting ModelSim, click File > New > Project and select a directory for the project.

How do I force input values for edge-case testing in ModelSim?

Right-click the desired input variable, choose Force, and set the value to test the circuit.

What command runs the simulation for a specific time period?

Type 'run 100' at the command prompt to simulate for 100 nanoseconds.

Download PDF (911 KB)

More Iowa State University Manuals


View all Iowa State University manuals →