Download Model Technology Model Sim EE Technical data
Transcript
lsublist lsublist The lsublist command returns a sublist of the specified Tcl list that matches the specified Tcl glob pattern. Syntax lsublist <list> <pattern> Arguments <list> Specifies the Tcl list to target with lsublist. Required. <pattern> Specifies the pattern to match within the <list> using Tcl glob-style matching. Required. Examples In the example below, variable ‘t’ returns "structure signals source". set window_names "structure signals variables process source wave list dataflow" set t [lsublist $window_names s*] See also The set command is a Tcl command. See the Tcl man pages (Main window: Help > Tcl Man Pages) for details. CR-96 ModelSim Commands ModelSim EE/SE Command Reference