Model Technology Model Sim EE Manual de Serviço

Consulte online ou descarregue Manual de Serviço para Digitalizar e Imprimir Model Technology Model Sim EE. Model Technology Model Sim EE Technical data Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 264
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes

Resumo do Conteúdo

Página 1 - Command Reference

ModelSim EE/SECommand Reference Version 5.3The ModelSim Elite and Special Editions for VHDL, Verilog, and Mixed-HDL Simulation

Página 2

Command reference tableCR-10 ModelSim Commands ModelSim EE/SE Command ReferenceCommand reference tableThe following table provides a brief descripti

Página 3 - Software License Agreement

nextCR-100 ModelSim Commands ModelSim EE/SE Command ReferencenextSee "search and next" (CR-141) for information on the next command.

Página 4 - Important Notice

noforceModelSim EE/SE Command Reference ModelSim Commands CR-101noforceThe noforce command removes the effect of any active force (CR-87) commands on

Página 5 - Limited Warranty

nologCR-102 ModelSim Commands ModelSim EE/SE Command ReferencenologThe nolog command suspends writing of data to the logfile for the specified signa

Página 6 - Table of Contents

nologModelSim EE/SE Command Reference ModelSim Commands CR-103-internalSpecifies that the logfile is to exclude data for internal items whose names m

Página 7 - Table of Contents - 7

notepadCR-104 ModelSim Commands ModelSim EE/SE Command Referencenotepad The notepad command is a simple text editor. It may be used to view and edit

Página 8 - Index (CR-257)

nowhenModelSim EE/SE Command Reference ModelSim Commands CR-105nowhenThe nowhen command deactivates selected when (CR-226) commands.Syntaxnowhen[<

Página 9 - ModelSim Commands

onbreakCR-106 ModelSim Commands ModelSim EE/SE Command ReferenceonbreakThe onbreak command is used within a macro; it specifies a command to be exec

Página 10 - Command reference table

onElabErrorModelSim EE/SE Command Reference ModelSim Commands CR-107onElabErrorThe onElabError command specifies one or more commands to be executed

Página 11

onerrorCR-108 ModelSim Commands ModelSim EE/SE Command ReferenceonerrorThe onerror command is used within a macro; it specifies one or more commands

Página 12

pauseModelSim EE/SE Command Reference ModelSim Commands CR-109pauseThe pause command placed within a macro interrupts the execution of that macro.Syn

Página 13

Command reference tableModelSim EE/SE Command Reference ModelSim Commands CR-11batch_mode (CR-38) returns a 1 if VSIM is operating in batch mode, oth

Página 14

playCR-110 ModelSim Commands ModelSim EE/SE Command Referenceplay This command is available for UNIX only.The play command replays a sequence of key

Página 15

power addModelSim EE/SE Command Reference ModelSim Commands CR-111power addThe power add command is used prior to the power report command (CR-112).

Página 16

power reportCR-112 ModelSim Commands ModelSim EE/SE Command Referencepower reportThe power report command is used subsequent to the power add comman

Página 17

power resetModelSim EE/SE Command Reference ModelSim Commands CR-113power resetThe power reset command selectively resets power information to zero f

Página 18

printenvCR-114 ModelSim Commands ModelSim EE/SE Command Referenceprintenv The printenv command echoes to the Transcript window the current names and

Página 19 - (CR-139)

profile clearModelSim EE/SE Command Reference ModelSim Commands CR-115profile clearThe profile clear command is used to clear any data that has been

Página 20

profile intervalCR-116 ModelSim Commands ModelSim EE/SE Command Referenceprofile intervalThe profile interval command allows you to select the frequ

Página 21

profile offModelSim EE/SE Command Reference ModelSim Commands CR-117profile offThe profile off command is used to discontinue runtime profiling.Synta

Página 22

CR-118 ModelSim Commands ModelSim EE/SE Command Referenceprofile onThe profile on command is used to enable runtime analysis of where your simulation

Página 23

profile optionModelSim EE/SE Command Reference ModelSim Commands CR-119profile optionThe profile option command allows various profiling options to b

Página 24

Command reference tableCR-12 ModelSim Commands ModelSim EE/SE Command Referencedisable_menu (CR-65) disables the specified menu within the specified

Página 25 - (CR-93)

profile reportCR-120 ModelSim Commands ModelSim EE/SE Command Referenceprofile reportThe profile report command is used to produce a textual output

Página 26

projectModelSim EE/SE Command Reference ModelSim Commands CR-121projectThe project command is used to perform common operations on new projects. The

Página 27

projectCR-122 ModelSim Commands ModelSim EE/SE Command ReferenceExamplesThe following commands make a copy of /user/georges/design/test3 project at

Página 28

property listModelSim EE/SE Command Reference ModelSim Commands CR-123property listThe property list command changes one or more properties of the sp

Página 29

property waveCR-124 ModelSim Commands ModelSim EE/SE Command Referenceproperty waveThe property wave command changes one or more properties of the s

Página 30

property waveModelSim EE/SE Command Reference ModelSim Commands CR-125-radix <radix>The <radix> can be expressed as: Symbolic, Bin, Oct,

Página 31

pwdCR-126 ModelSim Commands ModelSim EE/SE Command ReferencepwdThe Tcl pwd command displays the current directory path in the Main transcript window

Página 32

quietlyModelSim EE/SE Command Reference ModelSim Commands CR-127quietlyThe quietly command turns off transcript echoing for the specified command.Syn

Página 33

quitCR-128 ModelSim Commands ModelSim EE/SE Command ReferencequitThe quit command exits the simulator.Syntaxquit[-f or -force] [-sim]Arguments-f or

Página 34

radixModelSim EE/SE Command Reference ModelSim Commands CR-129radixThe radix command specifies the default radix to be used. The command can be used

Página 35

Command reference tableModelSim EE/SE Command Reference ModelSim Commands CR-13log (CR-93) creates a logfile containing simulation data for all HDL i

Página 36

recordCR-130 ModelSim Commands ModelSim EE/SE Command Referencerecord This command is available for UNIX only.The record command starts recording a

Página 37

reportModelSim EE/SE Command Reference ModelSim Commands CR-131reportThe report command displays the value of all simulator control variables, or the

Página 38

reportCR-132 ModelSim Commands ModelSim EE/SE Command Referencereport simulator stateDisplays all simulator state variables. Only the variables that

Página 39

restartModelSim EE/SE Command Reference ModelSim Commands CR-133restartThe restart command reloads the design elements and resets the simulation time

Página 40

restoreCR-134 ModelSim Commands ModelSim EE/SE Command ReferencerestoreThe restore command restores the state of a simulation that was saved with a

Página 41

resumeModelSim EE/SE Command Reference ModelSim Commands CR-135resumeThe resume command is used to resume execution of a macro file after a pause com

Página 42

right | leftCR-136 ModelSim Commands ModelSim EE/SE Command Referenceright | left The right | left command searches right (next) or left (previous)

Página 43

right | leftModelSim EE/SE Command Reference ModelSim Commands CR-137-risingSearches for a rising edge on the specified signal if that signal is a sc

Página 44

right | leftCR-138 ModelSim Commands ModelSim EE/SE Command Referenceright -expr {((NOW > 23 us) && (NOW < 54 us)) && clk’risi

Página 45

runModelSim EE/SE Command Reference ModelSim Commands CR-139runThe run command advances the simulation by the specified number of timesteps. Syntaxru

Página 46 - -time <limit>

Command reference tableCR-14 ModelSim Commands ModelSim EE/SE Command Referencepower reset (CR-113) selectively resets power information to zero for

Página 47

runCR-140 ModelSim Commands ModelSim EE/SE Command ReferenceExamplesrun 1000Advances the simulator 1000 timesteps.run 10.4 msAdvances the simulator

Página 48

search and nextModelSim EE/SE Command Reference ModelSim Commands CR-141search and nextThe search and next commands search the specified window for o

Página 49

search and nextCR-142 ModelSim Commands ModelSim EE/SE Command Reference-field <n>Selects different fields to test, depending on the window ty

Página 50

search and nextModelSim EE/SE Command Reference ModelSim Commands CR-143DescriptionWith the -all option, the entire window is searched, the last item

Página 51

searchLogCR-144 ModelSim Commands ModelSim EE/SE Command ReferencesearchLogThe searchLog command searches one or more of the currently open logfiles

Página 52 - (CR-51)

searchLogModelSim EE/SE Command Reference ModelSim Commands CR-145-count<num>Specifies to search for the <num>-th occurrence of the match

Página 53

seetimeCR-146 ModelSim Commands ModelSim EE/SE Command Referenceseetime The seetime command scrolls the List or Wave window to make the specified ti

Página 54

shiftModelSim EE/SE Command Reference ModelSim Commands CR-147shiftThe shift command shifts macro parameter values down one place, so that the value

Página 55

showCR-148 ModelSim Commands ModelSim EE/SE Command ReferenceshowThe show command lists HDL items and subregions visible from the current environmen

Página 56

splitioModelSim EE/SE Command Reference ModelSim Commands CR-149splitioThe splitio command operates on a VHDL inout or out port to create a new signa

Página 57

Command reference tableModelSim EE/SE Command Reference ModelSim Commands CR-15restore (CR-134) restores the state of a simulation that was saved wit

Página 58

statusCR-150 ModelSim Commands ModelSim EE/SE Command ReferencestatusThe status command lists all current interrupted macros. The listing shows the

Página 59

stepModelSim EE/SE Command Reference ModelSim Commands CR-151stepThe step command steps to the next HDL statement. Current values of local variables

Página 60 - <filename> [ -keep ]

stopCR-152 ModelSim Commands ModelSim EE/SE Command ReferencestopThe stop command is used with the when command (CR-226) to stop simulation in batch

Página 61

tbModelSim EE/SE Command Reference ModelSim Commands CR-153tbThe tb (traceback) command displays a stack trace for the current process in the Main tr

Página 62

toggle addCR-154 ModelSim Commands ModelSim EE/SE Command Referencetoggle addThe toggle add command enables collection of toggle statistics for the

Página 63 - <name>

toggle resetModelSim EE/SE Command Reference ModelSim Commands CR-155toggle resetThe toggle reset command resets the toggle counts to zero for the sp

Página 64 - (CR-134)

toggle reportCR-156 ModelSim Commands ModelSim EE/SE Command Referencetoggle reportBy default the toggle report command displays to the screen a lis

Página 65

transcribeModelSim EE/SE Command Reference ModelSim Commands CR-157transcribe The transcribe command displays a command in the Main window, then exec

Página 66

transcriptCR-158 ModelSim Commands ModelSim EE/SE Command ReferencetranscriptThe transcript command controls echoing of commands executed in a macro

Página 67

tssi2mtiModelSim EE/SE Command Reference ModelSim Commands CR-159tssi2mtiThe tssi2mti command is used to convert a vector file in Summit Design Stand

Página 68

Command reference tableCR-16 ModelSim Commands ModelSim EE/SE Command Referencetranscribe (CR-157) displays a command in the Main window, then execu

Página 69 - (CR-235)

vcd addCR-160 ModelSim Commands ModelSim EE/SE Command Referencevcd addThe vcd add command adds the specified items to the VCD file. The allowed ite

Página 70

vcd checkpointModelSim EE/SE Command Reference ModelSim Commands CR-161vcd checkpointThe vcd checkpoint command dumps the current values of all VCD v

Página 71

vcd commentCR-162 ModelSim Commands ModelSim EE/SE Command Referencevcd commentThe vcd comment command inserts the specified comment in the VCD file

Página 72

vcd fileModelSim EE/SE Command Reference ModelSim Commands CR-163vcd fileThe vcd file command specifies the filename and state mapping for the VCD fi

Página 73 - <item_name>

vcd fileCR-164 ModelSim Commands ModelSim EE/SE Command Reference-map <mapping pairs>Affects only VHDL signals of type std_logic. Optional. It

Página 74

vcd flushModelSim EE/SE Command Reference ModelSim Commands CR-165vcd flushThe vcd flush command flushes the contents of the VCD file buffer to the V

Página 75

vcd limitCR-166 ModelSim Commands ModelSim EE/SE Command Referencevcd limitThe vcd limit command specifies the maximum size of the VCD file (by defa

Página 76

vcd offModelSim EE/SE Command Reference ModelSim Commands CR-167vcd offThe vcd off command turns off VCD dumping and records all VCD variable values

Página 77 - (CR-64)

vcd onCR-168 ModelSim Commands ModelSim EE/SE Command Referencevcd onThe vcd on command turns on VCD dumping and records the current values of all V

Página 78

vcomModelSim EE/SE Command Reference ModelSim Commands CR-169vcomThe vcom command is used to invoke VCOM, the Model Technology VHDL compiler. Use VCO

Página 79

Command reference tableModelSim EE/SE Command Reference ModelSim Commands CR-17virtual function (CR-184) creates a new signal that consists of logica

Página 80

vcomCR-170 ModelSim Commands ModelSim EE/SE Command Reference-f <filename>Specifies a file with more command line arguments. Allows complex ar

Página 81

vcomModelSim EE/SE Command Reference ModelSim Commands CR-171-nodebug[=ports]Hides the internal data of the compiled design unit. Optional. The desig

Página 82

vcomCR-172 ModelSim Commands ModelSim EE/SE Command ReferenceThe warning message numbers are:1 = unbound component2 = process without a wait stateme

Página 83

vcomModelSim EE/SE Command Reference ModelSim Commands CR-173the work library. The specified pathname overrides the pathname specified for work in th

Página 84 - [-force]

vcomCR-174 ModelSim Commands ModelSim EE/SE Command Referencepackage. All enumeration data types in VHDL get an “implicit” definition for the = oper

Página 85

vdelModelSim EE/SE Command Reference ModelSim Commands CR-175vdelThe vdel command deletes a design unit from a specified library.Syntaxvdel[-help][-v

Página 86 - (CR-248)

vdelCR-176 ModelSim Commands ModelSim EE/SE Command ReferenceExamplesvdel -allDeletes the work library.vdel -lib synopsys -allDeletes the synopsys l

Página 87

vdirModelSim EE/SE Command Reference ModelSim Commands CR-177vdirThe vdir command selectively lists the contents of a design library. Syntaxvdir[-hel

Página 88

vgencompCR-178 ModelSim Commands ModelSim EE/SE Command ReferencevgencompOnce a Verilog module is compiled into a library, you can use the vgencomp

Página 89

vgencompModelSim EE/SE Command Reference ModelSim Commands CR-179ExamplesThis example uses a Verilog module that is compiled into the work library. T

Página 90

Command reference tableCR-18 ModelSim Commands ModelSim EE/SE Command Referencewrite format (CR-231) records the names and display options of the HD

Página 91

viewCR-180 ModelSim Commands ModelSim EE/SE Command ReferenceviewThe view command will open a ModelSim window and bring that window to the front of

Página 92 - <args>

viewModelSim EE/SE Command Reference ModelSim Commands CR-181-newCreates a new instance of the window type specified with the <window_name> opt

Página 93

virtual delete|describe|defineCR-182 ModelSim Commands ModelSim EE/SE Command Referencevirtual delete|describe|defineThe virtual delete command remo

Página 94

virtual expandModelSim EE/SE Command Reference ModelSim Commands CR-183virtual expandThe virtual expand command produces a list of all the non-virtua

Página 95

virtual functionCR-184 ModelSim Commands ModelSim EE/SE Command Referencevirtual functionThe virtual function command creates a new signal, known on

Página 96

virtual functionModelSim EE/SE Command Reference ModelSim Commands CR-185<name>The name you define for the virtual signal. Required. Case is ig

Página 97

virtual functionCR-186 ModelSim Commands ModelSim EE/SE Command Referencea_01, a_00} } avirtual function { | (gate:/chip/a XOR rtl:/chip/a) } a_errv

Página 98

virtual functionModelSim EE/SE Command Reference ModelSim Commands CR-187Commands not currently compatible with virtual functionsSee alsovirtual sign

Página 99 - .main clear

virtual hide|nohideCR-188 ModelSim Commands ModelSim EE/SE Command Referencevirtual hide|nohideThe virtual hide command sets a flag in the specified

Página 100

virtual log|nologModelSim EE/SE Command Reference ModelSim Commands CR-189virtual log|nologThe virtual log command causes the sim-mode dependent sign

Página 101 - CR-101

abortModelSim EE/SE Command Reference ModelSim Commands CR-19ModelSim CommandsabortThe abort command halts the execution of a macro file interrupted

Página 102

virtual regionCR-190 ModelSim Commands ModelSim EE/SE Command Referencevirtual regionThe virtual region command creates a new user-defined design hi

Página 103 - CR-103

virtual saveModelSim EE/SE Command Reference ModelSim Commands CR-191virtual saveThe virtual save command saves the definitions of virtuals to a file

Página 104 - -r

virtual show|countCR-192 ModelSim Commands ModelSim EE/SE Command Referencevirtual show|countThe virtual show command lists the full path names of a

Página 105 - CR-105

virtual signalModelSim EE/SE Command Reference ModelSim Commands CR-193virtual signalThe virtual signal command creates a new signal, known only by t

Página 106

virtual signalCR-194 ModelSim Commands ModelSim EE/SE Command Reference& a_00) } aThis command reconstructs a bus "sim:/chip/alu/a(4 downto

Página 107 - CR-107

virtual signalModelSim EE/SE Command Reference ModelSim Commands CR-195Commands compatible with virtual signals using [virtual expand <signal>]

Página 108

virtual typeCR-196 ModelSim Commands ModelSim EE/SE Command Referencevirtual typeThe virtual type command creates a new enumerated type, known only

Página 109 - CR-109

virtual typeModelSim EE/SE Command Reference ModelSim Commands CR-197When picking out a slice and converting the slice, it works best to do it in two

Página 110

vlibCR-198 ModelSim Commands ModelSim EE/SE Command ReferencevlibThe vlib command creates a design library.Syntaxvlib[-help][-dos| -short][-unix | -

Página 111 - CR-111

vlogModelSim EE/SE Command Reference ModelSim Commands CR-199vlogThe vlog command is used to invoke VLOG, the Model Technology Verilog compiler. Use

Página 112

2ModelSim /VHDL, ModelSim /VLOG, ModelSim /LNL, and ModelSim /PLUS are produced by Model Technology Incorporated. Unauthorized copying, duplication, o

Página 113 - CR-113

add buttonCR-20 ModelSim Commands ModelSim EE/SE Command Referenceadd buttonThe add button command adds a user-defined button to the Main window but

Página 114

vlogCR-200 ModelSim Commands ModelSim EE/SE Command Reference+delay_mode_unitSet non-zero structural delays to one. Optional.+delay_mode_zeroSet str

Página 115 - CR-115

vlogModelSim EE/SE Command Reference ModelSim Commands CR-201cannot set breakpoints or single step within this code. Don’t compile with this switch u

Página 116

vlogCR-202 ModelSim Commands ModelSim EE/SE Command Reference-R <simargs>Causes VSIM to be invoked on the top-level Verilog modules immediatel

Página 117 - CR-117

vlogModelSim EE/SE Command Reference ModelSim Commands CR-203-93Specifies that the VHDL interface to Verilog modules shall use VHDL 1076-93 extended

Página 118 - (CR-120)

vlogCR-204 ModelSim Commands ModelSim EE/SE Command Referencevlog top.v -v und1After compiling top.v, vlog will scan the file und1 for modules or pr

Página 119 - CR-119

vmakeModelSim EE/SE Command Reference ModelSim Commands CR-205vmakeThe vmake utility allows you to use a UNIX or Windows MAKE program to maintain lib

Página 120

vmakeCR-206 ModelSim Commands ModelSim EE/SE Command ReferenceExamplesTo produce a makefile for the work library:vmake >makefileYou can also run

Página 121 - CR-121

vmapModelSim EE/SE Command Reference ModelSim Commands CR-207vmap The vmap command defines a mapping between a logical library name and a directory b

Página 122

vsimCR-208 ModelSim Commands ModelSim EE/SE Command ReferencevsimThe vsim command is used to invoke the VSIM simulator, or to view the results of a

Página 123 - CR-123

vsimModelSim EE/SE Command Reference ModelSim Commands CR-209VSIM arguments are grouped alphabetically by language:• Arguments, VHDL and Verilog (CR

Página 124

add buttonModelSim EE/SE Command Reference ModelSim Commands CR-21Note: Because the arguments are positional, a Disable | NoDisable option must be sp

Página 125 - CR-125

vsimCR-210 ModelSim Commands ModelSim EE/SE Command Reference-keepstdoutFor use with foreign programs. Instructs the simulator to not redirect the s

Página 126

vsimModelSim EE/SE Command Reference ModelSim Commands CR-211+no_tchk_msgDisables timing constraint error messages. Optional.+notimingchecksDisables

Página 127 - CR-127

vsimCR-212 ModelSim Commands ModelSim EE/SE Command Reference‘timescale directives are found, the minimum time precision will be used; <time_unit

Página 128

vsimModelSim EE/SE Command Reference ModelSim Commands CR-213-wavslim <size>Specifies a size restriction in megabytes for the event portion of

Página 129 - CR-129

vsimCR-214 ModelSim Commands ModelSim EE/SE Command Reference-g<Name=Value> ...Note there is no space between -g and <Name=Value>. Speci

Página 130 - [<filename>]

vsimModelSim EE/SE Command Reference ModelSim Commands CR-215Note: Make sure the Value you specify is appropriate for the declared data type. Type mi

Página 131 - CR-131

vsimCR-216 ModelSim Commands ModelSim EE/SE Command Reference-strictvitalExactly match the VITAL package ordering for messages and delta cycles. Opt

Página 132

vsimModelSim EE/SE Command Reference ModelSim Commands CR-217+nowarn<CODE>Disables warning messages in the category specified by <CODE>.

Página 133 - CR-133

vsimCR-218 ModelSim Commands ModelSim EE/SE Command Reference<entity> [(<architecture>)]Specifies the name of the top-level entity to be

Página 134

vsim<info>ModelSim EE/SE Command Reference ModelSim Commands CR-219vsim<info>The vsim<info> commands return information about the c

Página 135 - CR-135

add listCR-22 ModelSim Commands ModelSim EE/SE Command Referenceadd listThe add list command lists VHDL variables, and Verilog nets and registers, a

Página 136

vsourceCR-220 ModelSim Commands ModelSim EE/SE Command ReferencevsourceThe vsource command displays an HDL source file in the VSIM Source window. Th

Página 137 - CR-137

.wave.tree zoomfullModelSim EE/SE Command Reference ModelSim Commands CR-221.wave.tree zoomfull The .wave.tree zoomfull command redraws the display t

Página 138 - (CR-146)

.wave.tree zoomrangeCR-222 ModelSim Commands ModelSim EE/SE Command Reference.wave.tree zoomrangeThe .wave.tree zoomrange command allows you to ente

Página 139 - CR-139

wlf2logModelSim EE/SE Command Reference ModelSim Commands CR-223wlf2logThe wlf2log command translates a ModelSim logfile (vsim.wlf) to a QuickSim II

Página 140 - (CR-151)

wlf2logCR-224 ModelSim Commands ModelSim EE/SE Command Reference-4.3Reads intermediate version (4.2 and 4.3) .wav files. Optional.-quietDisables err

Página 141 - CR-141

wlf2logModelSim EE/SE Command Reference ModelSim Commands CR-2253 Do a connect_wdb (either through the pulldown menus, the "Connect WDB" pa

Página 142

whenCR-226 ModelSim Commands ModelSim EE/SE Command ReferencewhenThe when command allows you to instruct VSIM to perform actions when the specified

Página 143 - CR-143

whenModelSim EE/SE Command Reference ModelSim Commands CR-227The operands may be item names, signame’event, or constants. Subexpressions in parenthes

Página 144

whenCR-228 ModelSim Commands ModelSim EE/SE Command ReferenceExamplesThe when command below instructs the simulator to display the value of item c i

Página 145 - CR-145

whenModelSim EE/SE Command Reference ModelSim Commands CR-229Time-based breakpointsYou can build time-based breakpoints into a when statement with th

Página 146

add listModelSim EE/SE Command Reference ModelSim Commands CR-23-inFor use with wild card searches. Specifies that the scope of the search is to incl

Página 147 - CR-147

whereCR-230 ModelSim Commands ModelSim EE/SE Command ReferencewhereThe where command displays information about the system environment. This command

Página 148

write formatModelSim EE/SE Command Reference ModelSim Commands CR-231write formatThe write format command records the names and display options of th

Página 149 - CR-149

write listCR-232 ModelSim Commands ModelSim EE/SE Command Referencewrite listThe write list command records the contents of the most recently opened

Página 150

write preferencesModelSim EE/SE Command Reference ModelSim Commands CR-233write preferencesThe write preferences command saves the current GUI prefer

Página 151 - CR-151

write reportCR-234 ModelSim Commands ModelSim EE/SE Command Referencewrite reportThe write report command prints a summary of the design being simul

Página 152

write transcriptModelSim EE/SE Command Reference ModelSim Commands CR-235write transcriptThe write transcript command writes the contents of the Main

Página 153 - CR-153

write tssiCR-236 ModelSim Commands ModelSim EE/SE Command Referencewrite tssiThe write tssi command records the contents of the default or specified

Página 154

write tssiModelSim EE/SE Command Reference ModelSim Commands CR-237Bidirectional logic values are not converted because only the resolved value is av

Página 155 - CR-155

write waveCR-238 ModelSim Commands ModelSim EE/SE Command Referencewrite waveThe write wave command records the contents of the most currently opene

Página 156

write waveModelSim EE/SE Command Reference ModelSim Commands CR-239<filename>Specifies the name of the PostScript output file. Required.Example

Página 157 - CR-157

add listCR-24 ModelSim Commands ModelSim EE/SE Command Reference-label <name>Specifies an alternative signal name to be displayed as a column

Página 158

CR-240 ModelSim Commands ModelSim EE/SE Command Reference

Página 159 - CR-159

ModelSim EE/SE Command Reference Command Syntax and Conventions CR-241CRCommand Syntax and Conventions Chapter contentsSyntax conventions . .

Página 160

Syntax conventionsCR-242 Command Syntax and Conventions ModelSim EE/SE Command ReferenceSyntax conventions These syntax elements are used within all

Página 161 - CR-161

Command return valuesModelSim EE/SE Command Reference Command Syntax and Conventions CR-243Command return valuesAll simulator commands are invoked us

Página 162 - <comment string>

Numbering conventionsCR-244 Command Syntax and Conventions ModelSim EE/SE Command ReferenceNumbering conventionsNumbers in ModelSim /PLUS can be exp

Página 163 - CR-163

HDL item pathnamesModelSim EE/SE Command Reference Command Syntax and Conventions CR-245Verilog numbering conventionsVerilog numbers are expressed in

Página 164

HDL item pathnamesCR-246 Command Syntax and Conventions ModelSim EE/SE Command ReferenceAbsolute path namesAbsolute path names begin with the path s

Página 165 - CR-165

HDL item pathnamesModelSim EE/SE Command Reference Command Syntax and Conventions CR-247Names in VSIM commands are case sensitive when matched agains

Página 166 - <filesize>

Wildcard charactersCR-248 Command Syntax and Conventions ModelSim EE/SE Command ReferenceWildcard charactersWildcard characters can be used in HDL i

Página 167 - CR-167

Simulation time unitsModelSim EE/SE Command Reference Command Syntax and Conventions CR-249preference variables and user-defined variables. Note that

Página 168

add listModelSim EE/SE Command Reference ModelSim Commands CR-25add list -hex {mybus {msb opcode(8 downto 1) data}}Creates a user-defined bus named &

Página 169 - CR-169

CR-250 Command Syntax and Conventions ModelSim EE/SE Command ReferenceGUI_expression_format The GUI_expression_format is an option of several simulat

Página 170

GUI_expression_formatModelSim EE/SE Command Reference Command Syntax and Conventions CR-251either UNSIGNED or SIGNED, as in the IEEE std_logic_arith

Página 171 - CR-171

GUI_expression_formatCR-252 Command Syntax and Conventions ModelSim EE/SE Command Reference&{<signalOrSliceName1>, <signalOrSliceName2&

Página 172

GUI_expression_formatModelSim EE/SE Command Reference Command Syntax and Conventions CR-253Saving expressionsExpressions created in the expression bu

Página 173 - CR-173

GUI_expression_formatCR-254 Command Syntax and Conventions ModelSim EE/SE Command ReferenceArray constants, expressed in any of the following format

Página 174 - (2-41) for more information

GUI_expression_formatModelSim EE/SE Command Reference Command Syntax and Conventions CR-255OperatorsNote: Arithmetic operators use the std_logic_arit

Página 175 - CR-175

GUI_expression_formatCR-256 Command Syntax and Conventions ModelSim EE/SE Command ReferenceCasting Examples/top/bus and $bit_mask This expression ta

Página 176

ModelSim EE/SE Command Reference Index - 257IndexAabort simulator command CR-19Absolute time, see timeadd button simulator command CR-20add list simul

Página 177 - CR-177

258 - Index ModelSim EE/SE Command Referencedescribe simulator command CR-63Design unitsadding Verilog units to a library CR-199report of units simula

Página 178

ModelSim EE/SE Command Reference Index - 259forcing signals or nets CR-87passing parameters to CR-67relative directories CR-67shifting parameter value

Página 179 - CR-179

add_menuCR-26 ModelSim Commands ModelSim EE/SE Command Referenceadd_menu The add_menu command adds a menu to the menu bar of the specified window, u

Página 180

260 - Index ModelSim EE/SE Command Referenceof signals in Wave window CR-34to examine CR-82radix simulator command CR-129record simulator command CR-1

Página 181 - CR-181

ModelSim EE/SE Command Reference Index - 261see write tssi command CR-236VValuesdescribe HDL items CR-63examine HDL item values CR-81Variable settings

Página 182

262 - Index ModelSim EE/SE Command Referencecheck float config CR-49check float off CR-50check stable off CR-52check stable on CR-51checkpointsee also

Página 183 - CR-183

ModelSim EE/SE Command Reference Index - 263tb (traceback) CR-153toggle add CR-154toggle report CR-156toggle reset CR-155transcribe CR-157transcript C

Página 184

Thank you for purchasing ModelSim!www.model.comA MENTOR GRAPHICS COMPANYModel Technology

Página 185 - CR-185

add_menuModelSim EE/SE Command Reference ModelSim Commands CR-27global myglobalvarset cmd1 "echo my_own_thing $wname"set cmd2 "echo my

Página 186

add_menucbCR-28 ModelSim Commands ModelSim EE/SE Command Referenceadd_menucb The add_menucb command creates a checkbox within the specified menu of

Página 187 - CR-187

add_menucbModelSim EE/SE Command Reference ModelSim Commands CR-29Examplesadd_menucb $wname mine.vars "Feature One" -variable myglobalvar($

Página 188

3Software License AgreementThis is a legal agreement between you, the end user, and Model Technology Incorporated (MTI). By opening the sealed package

Página 189 - CR-189

add_menuitemCR-30 ModelSim Commands ModelSim EE/SE Command Referenceadd_menuitem The add_menuitem command creates a menu item within the specified m

Página 190

add_separatorModelSim EE/SE Command Reference ModelSim Commands CR-31add_separator The add_separator command adds a separator as the next item in the

Página 191 - CR-191

add_submenuCR-32 ModelSim Commands ModelSim EE/SE Command Referenceadd_submenu The add_submenu command creates a cascading submenu within the specif

Página 192

add waveModelSim EE/SE Command Reference ModelSim Commands CR-33add waveThe add wave command adds VHDL signals, and Verilog nets and registers to the

Página 193 - CR-193

add waveCR-34 ModelSim Commands ModelSim EE/SE Command Reference-inoutFor use with wild card searches. Specifies that the scope of the search is to

Página 194

add waveModelSim EE/SE Command Reference ModelSim Commands CR-35-height <pixels> Specifies the height (in pixels) of the waveform. Optional.-co

Página 195 - CR-195

add waveCR-36 ModelSim Commands ModelSim EE/SE Command Referenceindividual elements. Gives greater flexibility in the types of elements that can be

Página 196

aliasModelSim EE/SE Command Reference ModelSim Commands CR-37alias The alias command creates a new Tcl procedure that evaluates the specified command

Página 197 - CR-197

batch_modeCR-38 ModelSim Commands ModelSim EE/SE Command Referencebatch_modeThe batch_mode command returns a 1 if VSIM is operating in batch mode, o

Página 198

bdModelSim EE/SE Command Reference ModelSim Commands CR-39bdThe bd command deletes a breakpoint.Syntaxbd<filename> <line_number>Arguments

Página 199 - CR-199

4from MTI. All copies of the SOFTWARE, whether provided by MTI or made by you, shall remain the property of MTI or its licensors. You will maintain a

Página 200

bpCR-40 ModelSim Commands ModelSim EE/SE Command ReferencebpThe bp or breakpoint command sets a breakpoint. If the source file name and line number

Página 201 - CR-201

bpModelSim EE/SE Command Reference ModelSim Commands CR-41ExamplesbpLists all existing breakpoints in the design, together with the source file names

Página 202

cdCR-42 ModelSim Commands ModelSim EE/SE Command Referencecd The Tcl cd command changes the VSIM local directory to the specified directory. See the

Página 203 - CR-203

changeModelSim EE/SE Command Reference ModelSim Commands CR-43changeThe change command modifies the value of a VHDL variable or Verilog register vari

Página 204

change_menu_cmdCR-44 ModelSim Commands ModelSim EE/SE Command Referencechange_menu_cmd The change_menu_cmd command changes the command to be execute

Página 205 - CR-205

check contention addModelSim EE/SE Command Reference ModelSim Commands CR-45check contention add The check contention add command enables contention

Página 206

check contention configCR-46 ModelSim Commands ModelSim EE/SE Command Referencecheck contention configThe check contention config command allow you

Página 207 - CR-207

check contention offModelSim EE/SE Command Reference ModelSim Commands CR-47check contention off The check contention off command disables contention

Página 208

check float addCR-48 ModelSim Commands ModelSim EE/SE Command Referencecheck float add The check float add command enables float checking for the sp

Página 209 - CR-209

check float configModelSim EE/SE Command Reference ModelSim Commands CR-49check float configThe check float config command allows you to write checki

Página 210

5Limited WarrantyLIMITED WARRANTY. MTI warrants that the SOFTWARE will perform substantially in accordance with the accompanying written materials for

Página 211 - CR-211

check float offCR-50 ModelSim Commands ModelSim EE/SE Command Referencecheck float offThe check float off command disables float checking for the sp

Página 212

check stable onModelSim EE/SE Command Reference ModelSim Commands CR-51check stable on The check stable on command enables stability checking on the

Página 213 - CR-213

check stable offCR-52 ModelSim Commands ModelSim EE/SE Command Referencecheck stable offThe check stable off command disables stability checking. Yo

Página 214

checkpointModelSim EE/SE Command Reference ModelSim Commands CR-53checkpointThe checkpoint command saves the state of your simulation. The checkpoint

Página 215 - CR-215

configureCR-54 ModelSim Commands ModelSim EE/SE Command Referenceconfigure The configure (config) command invokes the List or Wave widget configure

Página 216

configureModelSim EE/SE Command Reference ModelSim Commands CR-55-fontSpecifies the font used in the widget. Optional.-heightSpecifies the height in

Página 217 - CR-217

configureCR-56 ModelSim Commands ModelSim EE/SE Command ReferenceArguments, Wave window only-timecolorSpecifies the time axis color; the default is

Página 218

configureModelSim EE/SE Command Reference ModelSim Commands CR-57# #d9dfff # }# {-bd borderWidth}# {-bg background}# {-borderwidth

Página 219 - CR-219

configureCR-58 ModelSim Commands ModelSim EE/SE Command Reference# {# -yscrollcommand yscrollcommand Command {} {.list.yscroll set}# }#

Página 220

coverage clearModelSim EE/SE Command Reference ModelSim Commands CR-59coverage clearThe coverage clear command is used to clear all coverage data obt

Página 221 - .wave.tree zoomfull

6 - Table of Contents ModelSim EE/SE Command ReferenceTable of ContentsModelSim Commands (CR-9)Command reference table CR-10abort CR-19add button CR-

Página 222 - .wave.tree zoomrange

coverage reloadCR-60 ModelSim Commands ModelSim EE/SE Command Referencecoverage reloadThe coverage reload command is used to seed the coverage stati

Página 223 - CR-223

coverage reportModelSim EE/SE Command Reference ModelSim Commands CR-61coverage reportThe coverage report command is used to produce a textual output

Página 224 - <wavfile>

deleteCR-62 ModelSim Commands ModelSim EE/SE Command ReferencedeleteThe delete command removes HDL items from either the List or Wave window.Syntaxd

Página 225 - CR-225

describeModelSim EE/SE Command Reference ModelSim Commands CR-63describeThe describe command displays information about the specified HDL item. The d

Página 226

disablebpCR-64 ModelSim Commands ModelSim EE/SE Command ReferencedisablebpThe disablebp command temporarily turns off all existing breakpoints. To t

Página 227 - CR-227

disable_menuModelSim EE/SE Command Reference ModelSim Commands CR-65disable_menuThe disable_menu command disables the specified menu within the speci

Página 228

disable_menuitemCR-66 ModelSim Commands ModelSim EE/SE Command Referencedisable_menuitemThe disable_menuitem command disables a specified menu item

Página 229 - CR-229

doModelSim EE/SE Command Reference ModelSim Commands CR-67doThe do command executes commands contained in a macro file. A macro file can have any nam

Página 230

doCR-68 ModelSim Commands ModelSim EE/SE Command ReferenceUsing other VSIM commands with macrosIf you are executing a macro (DO file) when your simu

Página 231 - CR-231

doModelSim EE/SE Command Reference ModelSim Commands CR-69See alsoVSIM can search for DO files based on the path list specified by the DOPATH (B-391)

Página 232

ModelSim EE/SE Command Reference Table of Contents - 7nolog CR-102notepad CR-104nowhen CR-105onbreak CR-106onElabError CR-107onerror CR-108pause CR-1

Página 233 - CR-233

down | upCR-70 ModelSim Commands ModelSim EE/SE Command Referencedown | upThe down | up command searches for signal transitions or values in the spe

Página 234

down | upModelSim EE/SE Command Reference ModelSim Commands CR-71-value <sig_value>Specify a value of the signal to match. Optional. Must be sp

Página 235 - CR-235

down | upCR-72 ModelSim Commands ModelSim EE/SE Command Reference23 and 54 microseconds, and clock just changed from low to high and signal mode is

Página 236 - (CR-180)

driversModelSim EE/SE Command Reference ModelSim Commands CR-73driversThe drivers command displays in the Main window the current value and schedule

Página 237 - CR-237

dumplog64CR-74 ModelSim Commands ModelSim EE/SE Command Referencedumplog64The dumplog64 command dumps the contents of the vsim.wav file in a readabl

Página 238

echoModelSim EE/SE Command Reference ModelSim Commands CR-75echoThe echo command displays a specified message in the Main window. Syntaxecho<text_

Página 239 - CR-239

editCR-76 ModelSim Commands ModelSim EE/SE Command ReferenceeditThe edit command invokes the editor specified by the EDITOR environment variable. Sy

Página 240

enablebpModelSim EE/SE Command Reference ModelSim Commands CR-77enablebpThe enablebp command turns on all breakpoints turned off by the disablebp com

Página 241 - Chapter contents

enable_menuCR-78 ModelSim Commands ModelSim EE/SE Command Referenceenable_menuThe enable_menu command enables a previously-disabled menu. The menu w

Página 242 - Syntax conventions

enable_menuitemModelSim EE/SE Command Reference ModelSim Commands CR-79enable_menuitemThe enable_menuitem command enables a previously-disabled menu

Página 243 - Command return values

8 - Table of Contents ModelSim EE/SE Command Referencevirtual expand CR-183virtual function CR-184virtual hide|nohide CR-188virtual log|nolog CR-189vi

Página 244 - Numbering conventions

CR-80 ModelSim Commands ModelSim EE/SE Command ReferenceenvironmentThe environment, or env command, allows you to display or change the current regio

Página 245 - HDL item pathnames

examineModelSim EE/SE Command Reference ModelSim Commands CR-81examineThe examine, or exa command, examines one or more HDL items, and displays curre

Página 246 - Relative pathnames

examineCR-82 ModelSim Commands ModelSim EE/SE Command Reference-delta<delta>Specifies a simulation cycle at the specified time from which to f

Página 247 - Naming fields in VHDL signals

examineModelSim EE/SE Command Reference ModelSim Commands CR-83exa line__36/iExamplesexamine -time {3450 us} -expr {/top/bus and $bit_mask}In this ex

Página 248 - ModelSim variables

exitCR-84 ModelSim Commands ModelSim EE/SE Command ReferenceexitThe exit command exits the simulator and the ModelSim application.Syntaxexit[-force]

Página 249 - Simulation time units

findModelSim EE/SE Command Reference ModelSim Commands CR-85findThe find command displays the full pathnames of all HDL items in the design whose nam

Página 250 - GUI_expression_format

findCR-86 ModelSim Commands ModelSim EE/SE Command ReferenceExamplesfind -r /*Finds all items in the entire design.find *Displays the names of all i

Página 251 - CR-251

forceModelSim EE/SE Command Reference ModelSim Commands CR-87forceThe force command allows you to apply stimulus to VHDL signals and Verilog nets int

Página 252 - Grouping and precedence

forceCR-88 ModelSim Commands ModelSim EE/SE Command Reference-repeat <period>Repeats the force command, where <period> is the amount of

Página 253 - Expression syntax

forceModelSim EE/SE Command Reference ModelSim Commands CR-89If the time units are not specified, then the default is the resolution units selected a

Página 254

ModelSim EE/SE Command Reference ModelSim Commands CR-9CRModelSim Commands Chapter contentsCommand reference table . . . . . .

Página 255 - CR-255

getactivecursortimeCR-90 ModelSim Commands ModelSim EE/SE Command Referencegetactivecursortime The getactivecursortime command gets the time of the

Página 256 - /top/bus and $bit_mask

getactivemarkertimeModelSim EE/SE Command Reference ModelSim Commands CR-91getactivemarkertime The getactivemarkertime command gets the time of the a

Página 257

lechoCR-92 ModelSim Commands ModelSim EE/SE Command Referencelecho The lecho command takes one or more Tcl lists as arguments and pretty-prints them

Página 258

logModelSim EE/SE Command Reference ModelSim Commands CR-93logThe log command creates a logfile containing simulation data for all HDL items whose na

Página 259

logCR-94 ModelSim Commands ModelSim EE/SE Command Reference-howmanyReturns an integer indicating the number of signals found. Optional.<item_name

Página 260

lshiftModelSim EE/SE Command Reference ModelSim Commands CR-95lshift The lshift command takes a Tcl list as argument and shifts it in-place one place

Página 261

lsublistCR-96 ModelSim Commands ModelSim EE/SE Command Referencelsublist The lsublist command returns a sublist of the specified Tcl list that match

Página 262

macro_optionModelSim EE/SE Command Reference ModelSim Commands CR-97macro_optionThis command is available for UNIX only.The macro_option command cont

Página 263

modelsimCR-98 ModelSim Commands ModelSim EE/SE Command ReferencemodelsimThe modelsim command starts the ModelSim GUI without prompting you to load a

Página 264 - Model Technology

.main clearModelSim EE/SE Command Reference ModelSim Commands CR-99.main clear The .main clear command clears the Main window (10-158) transcript. Th

Comentários a estes Manuais

Sem comentários