Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


view

The view command will open a ModelSim window and bring that window to the front of the display. If multiple instances of a window exist, view will change the default window of that type to the specified window. Using the -new option, view will create an additional instance of the specified window type and set it to be the default window for that type.

Names for windows are generated as follows:

To remove a window, use the noview command.

Syntax

view

[*] [-x <n>] [-y <n>] [-height <n>] [-width <n>] [-icon]
[
-new] <window_name>...

Arguments

*

Wildcards can be used; for example: l* (List window), s* (Signal, Source, and Structure windows), even * alone (all windows). Optional.

-x <n>

Specifies the window upper-left-hand x-coordinate in pixels. Optional

-y <n>

Specifies the window upper-left-hand y-coordinate in pixels. Optional

-height <n>

Specifies the window height in pixels. Optional

-width <n>

Specifies the window width in pixels. Optional

-icon

Toggles the view between window and icon. Optional

-new

Creates a new instance of the window type specified with the <window_name> option. New window names are created by appending an integer to the window type, starting with 1, then incrementing the integer.

<window_name>...

Specifies the ModelSim window type to view. Multiple window types may be used; at least one type (or wildcard) is required. Available window types are:

dataflow, list, process, signals, source, structure, variables, and wave 

Also creates a new instance of the specified window type when used with the -new option. You may also specify the window(s) to view when multiple instances of that window type exist (e.g., wave2, structure1).

Examples

view wave

Creates a window named `wave'. Its full Tk path is `.wave'.

view -new wave

Creates a window named `wave1'. Its full Tk path is `.wave1'. Wave1 is now the default Wave window. Any add wave command would add items to wave1.

view wave

Changes the default window back to `wave'.

add wave -win .wave1 mysig

Will override the default window and add mysig to wave1.

See also

noview


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