Page 1 of 1

Shortcuts for port labeling

PostPosted: Mon May 14, 2012 9:30 am
by Sal Hernandez
The information listed below can be found in PCB123. When you select a port look to the top section of the edit panel for the button labeled Shortcuts.

A bar(line) can be placed over pin names and net names by appending two consecutive hypens (--) to the end of the name.

Sequence of pin names, pin numbers and net names can be generated using shorthand notation.

All shorthand within a base name appears inside square brackets [], and will expand using the following rules:

[NAME1,NAME2,NAME3,...] - Disjoint list. A list of names separated by commas will expand once for each name when placing consecutinve objects. Example:

INTENS_[RED,GREEN,BLUE] - expands for the next 3 items as

INTENS_RED
INTENS_GREEN
INTENS_BLUE

[#:#:#] - Numeric range. Two numbers separated by a colon (:) denote an inclusive sequential range. If a third number is supplied, then it is the increment, or step used when generating the sequence. Example:

ADDR[3:0] - expands for the next 4 items as

ADDR3
ADDR2
ADDR1
ADDR0

[0:100:10]_DEC - expands to
0_DEC

10_DEC
20_DEC ...

Please contact customer support if you have any questions.

Sal