Compare_vector, Usage, Options – Altera Quartus II Scripting User Manual

Page 476: Compare_vector –346

Advertising
background image

3–346

Chapter 3: Tcl Packages & Commands

simulator

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

compare_vector

Usage

compare_vector [-all_signals <on | off>] [-begin <time with unit>] [-compare_clocks
<clock name, period, offset, duty cycle, ON | OFF>] [-compare_rule_value_0
<0,1,X,L,H,W,Z,U and/or DC>] [-compare_rule_value_1 <0,1,X,L,H,W,Z,U and/or DC>]
[-compare_rule_value_dc <0,1,X,L,H,W,Z,U and/or DC>] [-compare_rule_value_h
<0,1,X,L,H,W,Z,U and/or DC>] [-compare_rule_value_l <0,1,X,L,H,W,Z,U and/or DC>]
[-compare_rule_value_u <0,1,X,L,H,W,Z,U and/or DC>] [-compare_rule_value_w
<0,1,X,L,H,W,Z,U and/or DC>] [-compare_rule_value_x <0,1,X,L,H,W,Z,U and/or DC>]
[-compare_rule_value_z <0,1,X,L,H,W,Z,U and/or DC>] [-default_tolerance <time with
unit>] [-end <time with unit>] [-expected <vector file name>] [-file <vector file
name>] [-max_mismatches <positive number>] [-signals <signal name, ON | OFF, tolerance
| <<default>>, ON | OFF>] [-trigger_mode <INPUT_EDGE | ALL_EDGE | SELECTED_EDGE>]

Options

-all_signals <on | off>: Option to compare or not compare all signals

-begin <time with unit>: Start time of waveform comparison

-compare_clocks <clock name, period, offset, duty cycle, ON | OFF>: List of comparison
clock signals to be used to trigger waveform comparison, their clock period, offset, and
duty cycle settings and waveform comparison trigger settings

-compare_rule_value_0 <0,1,X,L,H,W,Z,U and/or DC>: Option to specify the waveform
comparison rule setting for signal value 0. Example: "0,L,DC"

-compare_rule_value_1 <0,1,X,L,H,W,Z,U and/or DC>: Option to specify the waveform
comparison rule setting for signal value 1. Example: "1,H,DC"

-compare_rule_value_dc <0,1,X,L,H,W,Z,U and/or DC>: Option to specify the waveform
comparison rule setting for signal value DC. Example: "0,1,X,L,H,W,Z,U,DC"

-compare_rule_value_h <0,1,X,L,H,W,Z,U and/or DC>: Option to specify the waveform
comparison rule setting for signal value H. Example: "1,H,DC"

-compare_rule_value_l <0,1,X,L,H,W,Z,U and/or DC>: Option to specify the waveform
comparison rule setting for signal value L. Example: "0,L,DC"

-compare_rule_value_u <0,1,X,L,H,W,Z,U and/or DC>: Option to specify the waveform
comparison rule setting for signal value U. Example: "X,W,Z,U,DC"

-compare_rule_value_w <0,1,X,L,H,W,Z,U and/or DC>: Option to specify the waveform
comparison rule setting for signal value W. Example: "X,W,U,DC"

-compare_rule_value_x <0,1,X,L,H,W,Z,U and/or DC>: Option to specify the waveform
comparison rule setting for signal value X. Example: "X,W,U,DC"

-compare_rule_value_z <0,1,X,L,H,W,Z,U and/or DC>: Option to specify the waveform
comparison rule setting for signal value Z. Example: "Z,U,DC"

-default_tolerance <time with unit>: Default comparison timing tolerance for all
signals

-end <time with unit>: End time of waveform comparison

-expected <vector file name>: File name of the expected vector file

-file <vector file name>: File name of the current vector file

-max_mismatches <positive number>: Maximum mismatches reported in a waveform comparison

-signals <signal name, ON | OFF, tolerance | <<default>>, ON | OFF>: List of signals to
be compared/not compared, their tolerance settings, and waveform comparison trigger
settings

-trigger_mode <INPUT_EDGE | ALL_EDGE | SELECTED_EDGE>: Waveform comparison trigger
mode--trigger comparison based on transition edges of all input signals only, all
signals, or specified signals only

Advertising