SourcePoint AMD Help

Table of Contents

vpalias

Display or change a viewpoint alias

Syntax

[[px]] vpalias [=expr]

Where:

[px]

is a viewpoint override, including punctuation ( [ ] ), specifying that the viewpoint is temporarily set to processor x of the boundary scan chain.ย  The processor can be specified as px (where x is the processor ID), or an alias you have defined for a given processor ID.ย  ALL cannot be used as a viewpoint override.

expr

is a string or an expression that evaluates to a valid string.

Discussion

Use the vpalias command to define an alias for a processor. Specifying an empty string clears an alias.

The first character of an alias name must be a letter. ย Subsequent characters can be letters or numbers. ย Alias names are case-insensitive. ย Alias names are limited to 6 characters.

Aliases can also be viewed and changed in Options | Target Configuration | Devices.

Example 1

To name the current viewpoint "bob":

Command input:

vpalias = "bob"

Result:

bob>

Example 2

To name processor p3 "jane":

Command input:

[p3]vpalias = "jane"

view = jane

Result:

jane>

Example 3

To display the alias for the current viewpoint processor:

Command input:

vpalias

Result:

jane

Example 4

To clear the alias for P3 (jane):

Command input:

[p3]vpalias = ""

view = p3

Result:

P3>

Related Topics: