Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


Wildcard characters

Wildcard characters can be used in HDL item names in some simulator commands. Conventions for wildcards are as follows:

Syntax
Description
*
matches any sequence of characters
?
matches any single character

You can use square brackets [ ] in wildcard specifications if you place the entire name in curly braces { }:

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

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.


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