compare start
The compare start command begins a new dataset comparison. The datasets that you'll be comparing must already be open.
Syntax
compare start
[
-batch] [
-hide] [
-show] [
-maxsignal <n>] [
-maxtotal <n>]
<reference_dataset>[
<test_dataset>]
Arguments
-batch Specifies that comparisons will not be automatically inserted into the wave window. Optional.
-hide Hides all comparisons except those that have at least one difference. Optional.
-show Shows all comparisons even if they don't have any differences. Optional.
-maxsignal <n> Specifies an upper limit for the total differences encountered on any one signal. When that limit is reached, ModelSim stops computing differences on that signal. Optional. The default limit is 100. You can change the default using the compare options command or by editing the PrefCompare(defaultMaxSignalErrors) variable in the pref.tcl file.
-maxtotal <n> Specifies an upper limit for the total differences encountered. When that limit is reached, ModelSim stops computing differences. Optional. The default limit is 1000. You can change the default using the compare options command or by editing the PrefCompare(defaultMaxTotalErrors) variable in the pref.tcl file.
<reference_dataset> The dataset to be used as the comparison reference. Required.
<test_dataset> The dataset to be tested against the reference. Optional. If not specified, ModelSim uses the current simulation. The reference and test datasets may be the same.
Examples
compare start gold Begins a waveform comparison between a dataset named "gold" and the current simulation. Assumes the gold dataset was already opened.
dataset open gold_typ.wlf gold
dataset open bad_typ.wlf test
compare start -maxtotal 5000 -maxsignal 1000 gold testThis command sequence opens two datasets and starts a comparison between the two using greater than default limits for total differences encountered.
See also
compare add, compare options, compare stop, Waveform Comparison chapter
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |