Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


Flow for four-state VCD file

First, compile and load the design:

% cd ~/modeltech/examples
% vlib work
% vlog counter.v tcounter.v
% vsim test_counter 

Next, with the design loaded, specify the VCD file name with the vcd file commandand add items to the file with the vcd add command:

VSIM 1>vcd file myvcdfile.vcd
VSIM 2>vcd add /test_counter/dut/*
VSIM 3>run
VSIM 4>quit -f 

There will now be a VCD file in the working directory.


Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase