Sie sind auf Seite 1von 29

Chapter3

Creating Symbols

ES
Master Training
CR-5000 Self Training Method

1. Creating Symbol Libraries

1. Creating Symbol Libraries


l Symbol Librarys
A collection of symbol figures (symbol sheets) required for circuit design is
stored in a specific directory. The directory containing these symbol figures
(symbol sheets) is referred to as a symbol library.
A series of symbol libraries is used for storing and managing symbol sheets for
specific applications or purposes.
For example, you can create user-specific and manufacturer-specific symbol
libraries. When you create a schematic, you can select different symbol libraries for each purpose to use stored symbol figures for that schematic.

/SymbolLib (root directory)


Common symbol library
SymbolA
Symbol library
(Directory)

AD.cir
Schematic directory

SymbolC
Symbol library
(Directory)

Input symbols
selected from
symbol libraries.
SymbolB
Symbol library
(Directory)
Symbol search paths

0 current
.
1 localsmb ./smb
2 SymbolA /SymbolLib/
symbolA
3 SymbolB /SymbolLib/
SymbolB
4 SymbolC /SymbolLib/
SymbolC
smb
Local symbol library
(Directory)

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3-1

1. Creating Symbol Libraries

Before the symbol figures (symbol sheets) in created symbol libraries can be
used to create a schematic, the symbol libraries must be registered with their
pathnames defined as the symbol search paths in the data resource file
(landata.rsc) to be referenced for each schematic directory.
Symbol libraries and symbol search path have the following relationships.
Data resource file (landata.rsc)
Symbol search paths

0
1
2
3
4

current
localsmb
SymbolA
SymbolB
SymbolC

Current directory (fixed)

.
./smb
/SymbolLib/SymbolA
/SymbolLib/SymbolB
/SymbolLib/SymbolC

a.cir / 001.sht
:
A.smb
(Search for symbols
at the same level as
the schematic
directory.)

255

Local symbol library (Create symbols


to be used only for the schematic
currently being created.)

User-specified symbol libraries (Create


common symbols to be shared by
designers.)
/ SymbLib
SymbolA / A.smb
:
SymbolB / B.smb
:
SymbolC / C.smb
:
(Search the common symbol
library for symbols.)

See Also

a.cir / 001.sht
:
smb / A.smb
(Search for symbols in
the symbol library located at
the same level as the schematic directory.)

For information on the data resource file, see "Chapter 2 2. Resource Files" in this manual (Master
Training/Circuit Design).

Each symbol figure placed on a schematic sheet has the referenced symbol sheet
file name (-.smb) and the symbol search path number. If you change symbol search
path settings inadvertently, therefore, the symbol sheet cannot be referenced.
3

Asymbol

/symb/Asymb

3 Bsymbol

Symbol path
number: 3
INV.smb

/symb/Bsymb

Symbol path
number: 3
Cannot be
referenced.
INV.smb

The standard symbol libraries are provided as shown below.

$ZDSROOT / SymbLib / template / *


/ zukenCcb / CMOS_smb / *
/ STD_smb / 87AD / *
/ STD_smb / 87K-1 / *
/ STD_smb/ 87K-2 / *
/ STD_smb/ HM / *
/ STD_smb/ HN / *
/ STD_smb/ STD / *
/ waku / *

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3-2

Chapter 3 Creating Symbols

1. Creating Symbol Libraries

l Master and Local Operations of Symbol Libraries


Symbol libraries can serve either as the common symbol libraries to be shared
by schematic directories ("Master operation") or as the dedicated symbol libraries to be used only for the schematic directory containing the schematic
currently being edited ("Local operation").
[Master operation]

Symbol libraries commonly used for different schematics are master symbol libraries.
Common symbol libraries
A.cir / 001.sht

SymbolA / A.smb
:
SymbolB / B.smb
:
SymbolC / C.smb

/ SymbLib

landata.rsc

B.cir / 001.sht
landata.rsc
For master, or common symbol libraries, create a directory for storing symbol libraries and create the individual symbol libraries in that directory. Register these symbol
libraries by defining their pathnames as user-specified symbol search paths in the
data resource file (landata.rsc) (that follow the second entry).

[Local operation]

Local symbol libraries are the symbol files or symbol libraries specified as the current
or local directory to be used for a specific schematic directory.
Symbol search path [0] is system-fixed as the current directory. Symbols are created
and referenced at the same level as the schematic directory.
~ / user1 / KAIROA

A.cir / 001.sht
A.smb
B.smd

For local symbol libraries, create symbol libraries at the same level as the schematic
directory and create symbols in these libraries for reference. Since this type of symbol
library operation facilitates management of the schematic and symbols, it is recommended for creating specific symbols.
~ / user1 / KAIROA

A.cir / 001.sht
smb / A.smb
B.smd

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3-3

2. Registering Symbols

2. Registering Symbols
l Symbols
Each symbol sheet is created with a file name of [symbol-name.smb] in a symbol library. For the symbol, enter the symbol figure, the pins for connecting a
net, and the property viewers for displaying the properties, such as the part
name and function name, and the reference (reference name).
Reference
Part name

Pin

What is the property


viewer?
The property viewer
is an object for
displaying a property
value.

Function name

For each symbol, some properties must be assigned to the symbol sheet and
symbol pins so that net list output and DRC check can be executed when the
schematic has been created.

Properties and property viewers added to symbol sheets


1.Reference(reference)
The reference for each component is the identification number assigned to the
component.
Examples are IC1, IC2, ..., R1, R2, ..., C1, C2, ...
Each reference name identifies a single component.
2.Part name (partName)
The name of each component.
Part names serve as keywords when data is forward/back-annotated to/from
Board Designer or PWS.
3. Function name (function)
When a component is expressed in internal gate units, the function name for
each gate is used as the name representing the gate.
Function names are referenced when data is forward/back-annotated to/from
Board Designer or PWS.

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3-4

Chapter 3 Creating Symbols

2. Registering Symbols

4.Component type
The component type of each component identifies its classification on the
schematic sheet.
The following 13 different component types are available.

lFigure

....

lSheet frame
lPart

....
....

lGate

....

lPower box

....

lBlock

....

lPower
lGround
lShort-circuit
lHierarchical
connector

....
....
....
....

lSheet connector
lGate & Block
lPart & Block

....
....
....
....

A graphic with no electrical attribute, such as


a graphic frame or a company's logo.
The drawing frame of the sheet.
A single component that is represented as a
single component cell (symbol).
Corresponds to each gate in a component
that is represented as multiple component
cells (symbols)
Components that only have power supply and
ground pins
A component in a hierarchical structure,
allowing you to change view to lower
hierarchical levels.
The component representing a power supply.
The component representing the ground.
The component representing a short symbol.
The component connecting different
hierarchical levels.
The component connecting different sheets.
The component that is a gate having
a hierarchical structure.
The component that is a part having
a hierarchical structure.

The following types of components are referenced for net list output:
lPart
lShort-circuit
lGate
lHierarchicalconnector
lPower box
lSheet connector
lBlock
lGate & Block
lPower
lPart & Block
lGround
What is a short symbol?
A short symbol is used, for example, when you want to insert a net name along the
net as a comment. Since the individual nets connected to pins on each symbol
have their unique net names assigned, they are output to a net list as different nets.
Setting the component type to [Short-circuit] allows the nets to be output as the
same nets.
Different nets
SIGN21

CLOCK

CLOCK

Net output as net name "CLOCK"


SIGN21

Short symbol

CLOCK

CLOCK

Set the pin property, "prioritized


net flag" (AcceptNet?), to ON .

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3-5

2. Registering Symbols

5.Function type
The function type of a component identifies the component's function. For
example, even two components whose component types are "Part" can be
distinguished from each other by their function types if they differ in function,
such as a resistor and a capacitor.
Function types are defined in the following definition file, including the
headers (initial letters) of the references assigned automatically by
Gate Packager, reference auto-generation, or via the component
selection dialog.
Function type definition file: $ZDSROOT/etc/CompKind
DEFAULT LOGIC
JUMPER
POWER BOX
RESISTOR-R, etc.
See Also

For information on the function type definition file, refer to:


"The Function Type Definition File (CompKind)" in the "Master Training/Circuit Design" manual
(this manual)

Properties and property viewers added to symbol pins


1.Pin number (pinNumber)
2.Pin label (pinLabel)
3.I/O property
To set an I/O property, select one of the following five options:
Definition in the component library (CDB)
INPUT (input)
:Input
OUTPUT (output)
:Output
BIDIRECT (input/output) :I/O
VCC (power supply)
:Power
GND (ground)
: Ground
NC
:(Undefined)

4.Pin ID
The pin IDs for individual pins are the system ID numbers assigned to the pins in
ascending order in which they are entered. Information in the component library for schematic design (LCDB) is set with these pin IDs as keywords.

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3-6

Chapter 3 Creating Symbols

2. Registering Symbols

l Registering Symbols
To register a symbol, enter the figure and properties as shown below.
1.Open the symbol sheet.
Symbols correspond with symbol sheet files
on a one-to-one basis.
xxx.smb

2.Enter the symbol figure.


Insert graphic elements such as lines and
circles.

3.Set the sheet size and origin of the symbol


sheet.

@pinL
@pinL
@pinL
@pinL

@pinL
@pinL

4.Enter pins.
These pins are used for net connection; they
can be entered only when the symbol is registered.
The property viewers for pin names and pin
numbers are entered at the same time.
5.Set pin properties.
Enter the pin names and I/O properties.

B
INPUT
Y
OUTPUT

A
INPUT

SN74LS08
AND2
a
@pinN

@pinN

@pinN

Gate
DEFAULT LOGIC

SN74LS08
@pinN

`
@pinN
AND2

6.Set symbol sheet properties.


Enter the component type, function type, part
name, and function name.

x @pinN

7.Enter symbol sheet property viewers.


Enter the property viewers for the part name,
function name, and reference.

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3-7

2. Registering Symbols

l Creating Symbol Sheets


To create symbol sheets, use CR-5000 File Manager.
Use Sheet Editor to register the following symbol.

Symbol sheet name


Component type
Function type
Part name
Function name

:
:
:
:
:

and2.smb
Gate
DEFAULT LOGIC
SN74LS08
AND2

In CR-5000 File Manager, move


to the directory (symbol library)
in which you want to create a
symbol file:

/Self-training Installation directory/lesson2/Adsymb

1.Create a new symbol sheet "and2.smb".


Select File
New
Symbol Sheet from the menu bar.
The Create New dialog will then be displayed.



In the File Name field, enter the


symbol name (without the
".smb" extension) you want
to register.
Click on OK .
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3-8

Chapter 3 Creating Symbols

2. Registering Symbols

The initial sheet size is set to "No.


0" in the symbol sheet size table.

The commands disabled during


symbol registration remains grayed
out.

See Also

For details on the sheet size table, see "Chapter 2 2. Resource Files."

2.Enter the symbol figure.


Use the Enter the symbol figure shown below using drawing commands such as [Line/Polyline] and [Arc]:

See Also

For entering objects such as lines, refer to "Chapter 3 3. Inserting Figure Objects" in the "Beginner
Training/Circuit Design" manual.

You can use Symbol Figure in the Place menu to insert an already registered
symbol sheet.

Place

Symbol Figure

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3-9

2. Registering Symbols

3.Set the sheet size and change the origin.


To use a sheet size and origin already set in the sheet size table, from
the menu bar, select File
Sheet Frame and select the settings
from the table.

(1)To change the sheet size to an arbitrary size in Sheet Editor, follow
the steps below:
From the menu bar, select Environment
Sheet Size
Change Size and Origin .

The cross-cursor appears on


the canvas.

p2

Specify the rectangle enclosing the symbol to define


the sheet size.

p1

Pick a point as the origin.

See Also

For details, see "Chapter 4 5. Editing Schematics."

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3 - 10

Chapter 3 Creating Symbols

2. Registering Symbols

(2)You can minimize the sheet size to fit the entered figure as follows.
From the menu bar, select Environment
Sheet Size
Fitting
.
Initial sheet size

The origin remains at the


same position.
See Also

For details, see "Chapter 4 5. Editing Schematics."


Setting the symbol sheet size
The symbol sheet size determines the recognition area for selecting the object on the schematic to
be created. The symbol sheet size should therefore be the same size as the symbol figure.

Sheet size

(3)Change the sheet origin.


From the menu bar,select Environment
Change Origin .

Sheet Size

The draggable shape of


the origin is displayed.

Pick the point to serve as


the origin.

Setting the symbol sheet origin


Since the origin of a symbol sheet serves as the dragging origin when the symbol is entered, place
the symbol sheet origin at the same position as a pin.

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3 - 11

2. Registering Symbols

4.Enter the pins to serve as terminals. Pins can be entered only during symbol registration.
From the menu bar, select Place
Pin .
A mark of "X" appears at
the tip of the cursor.

Click on a point at which


you want to place a pin.
The pin ID "X" mark remains at
the point you have clicked on,
along with pin ID 1 displayed.
The pin number and pin name
property viewers are generated at
the same time.

@pinL
1 @pinN

@pinL
@pinN

The pin ID is displayed


only during symbol
registration.

@pinL
@pinN

@pinL
@pinN

5.Set a pin name for each pin.


@pinL
2 @pinN



@pinL
1 @pinN

@pinL
@pinN
3

Enter the other pins, up to


pin ID 3, in the same
manner.

Select the pin to which you


want to assign a pin
name.
What to do if a pin
cannot be selected?
Give the focus to the
pin.

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3 - 12

Chapter 3 Creating Symbols

2. Registering Symbols

From the menu bar, select Attribute

Change Attribute .

The Set Properties dialog will then appear for setting symbol pin
properties.

Click on [Pin Name] in the


property list and enter "A"
in the property value cell.

Click on Apply .


@pinL
@pinN
A
@pinN

@pinL
@pinN

The property viewer entered


along with the pin will then
display "A".

Move the location of the pin name.

@pinL
@pinN
@pinL
@pinN

@pinN
A

Click on pin name A and move the


cursor while holding down the
mouse button. When the pin name
appears draggable, release the
mouse button and click on the
desired placement position.

Since the symbol of each gate has a unique pin number, the pin number is set on the
schematic sheet. On the symbol sheet, in that case, enter only the pin number property
viewer.

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3 - 13

2. Registering Symbols

6.Set the I/O property of each pin.


Although the I/O property is set as a pin property, no property
viewer is entered for it because it is not displayed on the schematic sheet.



@pinL
@pinN

@pinN
A

@pinL
@pinN

Select the pin to which you


want to assign an I/O property.

The Set Properties dialog will then appear for setting symbol pin properties.

Center "INPUT" (input terminal) in the "IO" value cell.

For the I/O property, select one of the


following options:
NPUT (input)
OUTPUT (output)
BIDIRECT (input/output)
VCC (power supply)
GND (ground)
NC

Click on OK or Apply .
7. Set pin names and I/O properties for the other pins.
Pin name: B
I/O property: INPUT
2

@pinL
@pinN
@pinL
@pinN

Pin name: Y
I/O property: OUTPUT

@pinN
A

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3 - 14

Chapter 3 Creating Symbols

2. Registering Symbols

8.Set the properties and property viewers to be added to the symbol


sheet.
From the menu bar, select Environment
Change Sheet Property .

The Sheet Property dialog will then appear.


The Sheet Property dialog is
separated in [Properties]and
[Sheet Size] as category.
Let's make it the condition that
[Properties] is selected here.

Part name
Function name
Reference

Component type
Function type

[Sheet Size]

9.Set the component type and function type.


Click on the option button to bring up the component type list and select
[Gate].



123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3 - 15

2. Registering Symbols

Then, display the function type list and select [DEFAULT LOGIC].


The Sheet Property dialog remains displayed.

10.Set the part name and function name.


Set [Part Name] in the property list on the Sheet Property dialog to
"SN74LS08".

Click on [Part Name] in


the property list and
enter "SN74LS08" in
the property value
field.
Click on Set Value .

Set [Function Name] in the property list on the Sheet Property dialog
to "AND2".

Click on [Function Name]


in the property list and
enter "AND2" in the
property value field.

Click on Set Value .


Click on OK or Apply .
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3 - 16

Chapter 3 Creating Symbols

2. Registering Symbols

11. Enter the property viewers for the part name, function name, and
reference as shown below.
Since the reference is also
entered on the schematic sheet,
enter only the property viewer on
the symbol sheet.

With no object selected on the symbol sheet, from the menu bar,
select Place
Property Viewer .
The [Enter Property Viewer] dialog
will then appear.
Click on [Part Name] in the
property list, and then on
[Apply].

The entered property


values have been set.

Place the cursor on the canvas, and the part name


that has been set appears draggable. Click
on the point where you
want to place the part
name property viewer.
In the same operation, set the following properties
to enter them in the symbol sheet,too:
Function name
Reference
12.You have now finished entering objects and properties in the symbol sheet. Save the symbol sheet and quit Sheet Editor.
From the menu bar, select File
Exit .
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3 - 17

2. Registering Symbols

l Notes
1.The reference files referenced by Sheet Editor for registering symbols are the
environment resource file (lanenv.rsc) and data resource file (landata.rsc).
These are master resource files, allowing symbols to be created always in the
sameenvironment.
The master resource files are:

$ZDSROOT/info/lanenv.rsc (environment resource file)


$ZDSROOT/info/landata.rsc (data resource file)
The master resource files can be edited only by the system administrator.

See Also

For information on resource file operation, see "Chapter 2 2. Resource Files" in the "Master
Training/Circuit Design" manual (this manual).

2.When you perform circuit design using the component library for schematic
design (LCDB), symbols reflect the LCDB definitions for their properties such
as part names and function names. In this case, you may enter only property
viewers without setting the properties themselves on symbol sheets.
If a part name or function name has been set on a symbol sheet, these settings on
the symbol sheet are ignored; information in the component library for schematic
design (LCDB) is used instead.

Reference

Part name

Pin label

Pin number

Function name

3.Before registering a symbol, you should determine the specifications such as


the sheet size and pin pitch. Individual symbols cannot be scaled on the schematic sheet.

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3 - 18

Chapter 3 Creating Symbols

2. Registering Symbols

l Using Symbol Pin Editor


In Symbol Pin Editor, t is possible to insert/edit the pin properties using the list
on the symbol sheet only when registering the symbols. It is easy to create and
edit the multi pin symbols.
Select Property

Symbol Pin Editor in the menu bar.

Indicate the place the cursor is.

Display the option


dialog.

Pin property value

When double-clicking the property name (on


line1), the cell setting dialog is displayed.

[ON]: When entering a number


in the cell, the numbers
underneath the cell are set in
order automatically.
[OFF]: A number is entered only
in selected cell.
When it is [ON], enter the property viewer
or turn the property viewer display [ON].
When it is [OFF], turn the property viewer
display [OFF]

Specify [ON/OFF] in the


dynamic scroll.

Set the property to be


displayed in the symbol
pin information table.
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3 - 19

2. Registering Symbols

When the cell of the property


name is blue, there is a pin for
which the property viewer is
displayed.
When the candidates of property
value are set in the property
definition file PropSpec, those are
displayed in order with doubleclicking the cell.

When the candidates of property


value are set in the property definition file PropSpec, those are
displayed in the Assist menu.

When option/auto-assigned
number is [ON], [2-22] is entered
automatically after entering [1].

When selecting the pin on the symbol sheet, cursor is moved to the line where
that pin is. When selecting the pin where cursor is located, corresponding pin
on the schematic sheet is selected.
The property which is set in Symbol Pin Editor is reflected as a pin property by
clicking OK or Apply
See Also

Reference: For further details, please read the online help in addition.

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3 - 20

Chapter 3 Creating Symbols

3. Using Components Manager to Register Symbols

3. Using Components Manager to Register Symbols


l Registering Symbols via Components Manager
Although Sheet Editor used for registering symbols is one of the System Designer tools, you can also invoke Sheet Editor from within Components Manager.

SystemDesigner
CR-5000 File Manager

Components Manager

Symbol Editor

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3 - 21

3. Using Components Manager to Register Symbols

l Invoking the Schematic Symbol Registration Tool


Try invoking the schematic symbol registration tool (Sheet Editor).
1. On the Components Manager panel, click on the schematic symbol
registration tool start button
.

Sheet Editor will be invoked.

A System Designer tool,


Sheet Editor, is used as
the schematic symbol
registration tool.

The symbol paths to the symbol libraries listed in the Select Symbol Path
option list in Components Manager are defined in the master data resource
file ($ZDSROOT/info/landata.rsc).

If you select a symbol library


(directory) here, the schematic symbol registration
tool (Sheet Editor) will start
up in that directory.



In this lesson, you will create a new symbol library in a non-listed directory; you
cannot select any symbol library from the current option list.

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3 - 22

Chapter 3 Creating Symbols

3. Using Components Manager to Register Symbols

2. Select Open

File from the menu bar.


The Open dialog will then be displayed.
Change the list display mode to mSymbol Sheet.

Change the current directory to "self-training


installation directory/home/lesson2/adsymb".

Enter a file name[AND2] and click on OK .




The specified symbol sheet "AND2.smb" is opened.

See Also

For registering symbols, see the previous section "2. Registering Symbols."

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3 - 23

3. Using Components Manager to Register Symbols

l Examples
In the lesson in "2. Registering Symbols," you practiced registering a 3-pin gate
symbol. There are other types of symbols as classified into component types,
to each of which convenient commands for registration and items to note are
applicable.
The remainder of this chapter provides examples of registering an IC part symbol, discrete resistor symbol, power box symbol, and sheet frame symbol,
along with some tips for registering symbols.
1.IC part symbol
Component type : Part
Function type : DEFAULT LOGIC

Pin ID
1
2
3
4
5
6
8
9
10
11
12
13

@ Terminal
name
1A
1B
1Y
2A
2B
2Y
3Y
3A
3B
4Y
4A
4B

I/O property
INPUT
INPUT
OUTPUT
INPUT
INPUT
OUTPUT
OUTPUT
INPUT
INPUT
OUTPUT
INPUT
INPUT

2.Discrete resistor symbol

Component type:Part
Function type
:RESISTOR
Pin ID
1
2

@ Terminal I/O property


name
BIDIRECT
BIDIRECT

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3 - 24

Chapter 3 Creating Symbols

3. Using Components Manager to Register Symbols

3.Power box symbol


With one power pin and one ground pin
Component type:Gate
Function type :POWER BOX
Pin ID
1
2

@ Terminal I/O property


name
VCC
GND

VCC
GND

4.Sheet frame symbol

If a sheet frame is created with the sheet frame size equal to the
symbol sheet size, you cannot help selecting the sheet frame
symbol when creating the schematic. To prevent this, the sheet
frame symbol should be placed at a corner where you merely click
the mouse when creating the schematic.

Component type:Sheet frame


Function type
:DEFAULT LOGIC

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3 - 25

3. Using Components Manager to Register Symbols

Auto-generate Pin No.

When you symbol pins, you can set their pin numbers (pinNumber) at the same time.
You can also specify the incremental value for numbering the pins.
When registering a symbol, open the Circuit Design Icon dialog from the icon bar.



Click on Auto-generate Pin No. in the


Circuit Design Icon dialog.

A dialog is displayed for pin number autogeneration.


Specify the first pin number to be assigned.
Specify the increment value for pin
numbering.

Click on the pin input icon


, then click
on the pin placement position in Sheet
Editor.

The property viewers for


Pin ID 1, Pin No. 1, and
for the pin label are
entered.

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3 - 26

Chapter 3 Creating Symbols

3. Using Components Manager to Register Symbols

Sort Pin IDs

The pin IDs to be assigned to symbol pins can be re-assigned clockwise or counterclockwise.

Starting pin

Clockwise

When registering a symbol, from the menu bar, select Utilities

Sort Pin IDs .

The Sort Pin IDs dialog will then appear.


Select [Clockwise] or [Counterclockwise],
then click on the starting pin position.

Use the cursor in Sheet Editor to click on the


pin to which you want to assign pin ID 1.

Pin IDs are re-assigned to all the pins already


entered.

Although pin IDs are re-assigned, other properties (such as pin numbers and pin labels) remain
unchanged.

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

Chapter 3 Creating Symbols

3 - 27

3. Using Components Manager to Register Symbols

Re-assigning Pin IDs

Pin IDs which have already been assigned can be changed via the Set Properties
dialog for symbol pins.

Click on [ID] to enter the edit mode. Enter the desired new ID number, then click on
OK or Apply .

More on pin IDs


l If changing a pin ID results in duplicated pin IDs, no error is issued when the pin ID is changed.
When you attempt to save the sheet file, however, a pin ID duplication error occurs.
l Although duplicated pin IDs cause an error, they must not necessarily be consecutive numbers, as
in Example 1 in which "1" to "6" and "8" to "13" are assigned.

123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789

3 - 28

Chapter 3 Creating Symbols

Das könnte Ihnen auch gefallen