Reference Prefix

The reference-prefix statement defines the prefix of reference designators of each component instance created in a JITX design.

This statement is valid in the pcb-component context.

Signature

  reference-prefix = <String>

Any string is valid as a reference prefix.

If no reference-prefix statement is found in a component definition, the default prefix is "U".

Each pcb-component may have exactly one reference-prefix statement. If more than one statement is encountered in a definition, then a DuplicateCStmtError exception will be raised.

Examples

pcb-component my-component:
  reference-prefix = "X"

pcb-component my-component:
  reference-prefix = "ESD"

reference-prefix = "X" Set the reference prefix of this component to be "X". The first component would get reference designator X1. Subsequent components will get X2, X3, etc

reference-prefix = "ESD" Set the reference prefix of this component to be "ESD". The first component would get reference designator ESD1.