Technical data
Wildcard characters
CR-248  Command Syntax and Conventions ModelSim EE/SE Command Reference
Wildcard characters
Wildcard characters can be used in HDL item names in some simulator 
commands. Conventions for wildcards are as follows:
You can use square brackets [ ] in wildcard specifications if you place the entire 
name in curly braces { }:
Examples
*
Matches all items.
{*[0-9]}
Matches all items ending in a digit.
{?in*[0-9]}
Matches such item names as pin1, fin9, and binary2.
ModelSim variables
Several variables are available to control simulation, provide simulator state 
feedback, or modify the appearance of the ModelSim GUI. To take effect, some 
variables, such as environment variables, must be set prior to simulation. 
ModelSim variables can be referenced in simulator commands by preceding the 
name of the variable with the dollar sign ($) character. The ModelSim uses global 
Tcl variables for simulator state variables, simulator control variables, simulator 
Syntax Description
* matches any sequence of characters
? matches any single character
Syntax Description
{[abcd]} matches any character in the specified set
{[a-d]} matches any character in the specified range
{[^a-d]} matches any character not in the set










