Upload
nicu-gee
View
128
Download
8
Embed Size (px)
Citation preview
Master TrainingCR-5000 Self Training Method
ESES
Chapter3
Creating Symbols
Chapter 3 Creating Symbols 3 - 1
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
1. Creating Symbol Libraries
1. Creating Symbol Libraries
A collection of symbol figures (symbol sheets) required for circuit design isstored 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 forspecific applications or purposes.
For example, you can create user-specific and manufacturer-specific symbollibraries. When you create a schematic, you can select different symbol librar-ies for each purpose to use stored symbol figures for that schematic.
Common symbol library
AD.cirSchematic directory
/SymbolLib (root directory)
Input symbolsselected fromsymbol libraries.
SymbolBSymbol library(Directory)
SymbolCSymbol library(Directory)
smbLocal symbol library(Directory)
SymbolASymbol library(Directory)
lllll Symbol Librarys
Symbol search paths
0 current .1 localsmb ./smb2 SymbolA /SymbolLib/ symbolA3 SymbolB /SymbolLib/ SymbolB4 SymbolC /SymbolLib/ SymbolC
Chapter 3 Creating Symbols3 - 2
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
1. Creating Symbol Libraries
Before the symbol figures (symbol sheets) in created symbol libraries can beused to create a schematic, the symbol libraries must be registered with theirpathnames 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.
a.cir / 001.sht :A.smb (Search for symbols at the same level as the schematic directory.)
Current directory (fixed) Data resource file (landata.rsc)Symbol search paths0 current .1 localsmb ./smb2 SymbolA /SymbolLib/SymbolA3 SymbolB /SymbolLib/SymbolB4 SymbolC /SymbolLib/SymbolC
For information on the data resource file, see "Chapter 2 2. Resource Files" in this manual (MasterTraining/Circuit Design).
The standard symbol libraries are provided as shown below.
Each symbol figure placed on a schematic sheet has the referenced symbol sheetfile name (-.smb) and the symbol search path number. If you change symbol searchpath settings inadvertently, therefore, the symbol sheet cannot be referenced.
3 Bsymbol /symb/Bsymb3 Asymbol /symb/Asymb
$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 / *
User-specified symbol libraries (Createcommon symbols to be shared bydesigners.)
(Search the common symbol library for symbols.)
a.cir / 001.sht :smb / A.smb (Search for symbols inthe symbol library located atthe same level as the sche-matic directory.)
Local symbol library (Create symbolsto be used only for the schematiccurrently being created.)
Symbol pathnumber: 3
Symbol pathnumber: 3
See Also
INV.smb INV.smb
/ SymbLib SymbolA / A.smb : SymbolB / B.smb : SymbolC / C.smb :
255
Cannot bereferenced.
Chapter 3 Creating Symbols 3 - 3
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
1. Creating Symbol Libraries
A.cir / 001.sht
landata.rsc
/ SymbLib SymbolA / A.smb : SymbolB / B.smb : SymbolC / C.smb
Common symbol libraries
[Master operation]
Symbol libraries commonly used for different schematics are master symbol libraries.
For master, or common symbol libraries, create a directory for storing symbol librar-ies and create the individual symbol libraries in that directory. Register these symbollibraries by defining their pathnames as user-specified symbol search paths in thedata resource file (landata.rsc) (that follow the second entry).
~ / user1 / KAIROA A.cir / 001.sht
A.smb B.smd
For local symbol libraries, create symbol libraries at the same level as the schematicdirectory and create symbols in these libraries for reference. Since this type of symbollibrary operation facilitates management of the schematic and symbols, it is recom-mended for creating specific symbols.
Local symbol libraries are the symbol files or symbol libraries specified as the currentor local directory to be used for a specific schematic directory.
Symbol search path [0] is system-fixed as the current directory. Symbols are createdand referenced at the same level as the schematic directory.
[Local operation]
Symbol libraries can serve either as the common symbol libraries to be sharedby schematic directories ("Master operation") or as the dedicated symbol li-braries to be used only for the schematic directory containing the schematiccurrently being edited ("Local operation").
lllll Master and Local Operations of Symbol Libraries
B.cir / 001.sht
landata.rsc
~ / user1 / KAIROA A.cir / 001.sht
smb / A.smb B.smd
Chapter 3 Creating Symbols3 - 4
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
2. Registering Symbols
Each symbol sheet is created with a file name of [symbol-name.smb] in a sym-bol library. For the symbol, enter the symbol figure, the pins for connecting anet, and the property viewers for displaying the properties, such as the partname and function name, and the reference (reference name).
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.
For each symbol, some properties must be assigned to the symbol sheet andsymbol pins so that net list output and DRC check can be executed when theschematic has been created.
What is the propertyviewer?The property vieweris an object fordisplaying a propertyvalue.
Function name
Part name
Reference
Pin
Properties and property viewers added to symbol sheets
lllll Symbols
Chapter 3 Creating Symbols 3 - 5
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
4.Component type The component type of each component identifies its classification on the
schematic sheet.
lFigure
lSheet framelPart
lGate
lPower box
lBlock
lPowerlGroundlShort-circuitlHierarchical connector
lSheet connectorlGate & BlocklPart & 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 13 different component types are available.
The following types of components are referenced for net list output:lPartlGatelPower boxlBlocklPowerlGround
lShort-circuitlHierarchical connectorlSheet connectorlGate & BlocklPart & Block
What is a short symbol?A short symbol is used, for example, when you want to insert a net name along thenet as a comment. Since the individual nets connected to pins on each symbolhave 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 thesame nets.
CLOCK CLOCKSIGN21 CLOCKSIGN21
Different nets
Set the pin property, "prioritizednet flag" (AcceptNet?), to ON .
CLOCK
Short symbol
Net output as net name "CLOCK"
Chapter 3 Creating Symbols3 - 6
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
5.Function typeThe function type of a component identifies the component's function. Forexample, even two components whose component types are "Part" can bedistinguished from each other by their function types if they differ in function,such as a resistor and a capacitor.
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)
Function types are defined in the following definition file, including theheaders (initial letters) of the references assigned automatically byGate Packager, reference auto-generation, or via the componentselection dialog.Function type definition file: $ZDSROOT/etc/CompKind
DEFAULT LOGICJUMPERPOWER BOXRESISTOR-R, etc.
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:
INPUT (input) :InputOUTPUT (output) :OutputBIDIRECT (input/output) :I/OVCC (power supply) :PowerGND (ground) : GroundNC :(Undefined)
Definition in the component library (CDB)
4.Pin IDThe pin IDs for individual pins are the system ID numbers assigned to the pins inascending order in which they are entered. Information in the component li-brary for schematic design (LCDB) is set with these pin IDs as keywords.
See Also
Chapter 3 Creating Symbols 3 - 7
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
@pinL@pinL@pinL@pinL
BINPUT
ax@pinN
SN74LS08AND2
ax
SN74LS08
AND2
@pinL@pinL
AINPUT
YOUTPUT
@pinN@pinN
@pinN
@pinN@pinN
To register a symbol, enter the figure and properties as shown below.
xxx.smb
1.Open the symbol sheet.Symbols correspond with symbol sheet fileson a one-to-one basis.
2.Enter the symbol figure.Insert graphic elements such as lines andcircles.
3.Set the sheet size and origin of the symbolsheet.
4.Enter pins.These pins are used for net connection; theycan be entered only when the symbol is regis-tered.The property viewers for pin names and pinnumbers are entered at the same time.
5.Set pin properties.Enter the pin names and I/O properties.
6.Set symbol sheet properties.Enter the component type, function type, partname, and function name.
7.Enter symbol sheet property viewers.Enter the property viewers for the part name,function name, and reference.
lllll Registering Symbols
GateDEFAULT LOGIC
Chapter 3 Creating Symbols3 - 8
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
To create symbol sheets, use CR-5000 File Manager.
Use Sheet Editor to register the following symbol.
Symbol sheet name : and2.smbComponent type : GateFunction type : DEFAULT LOGICPart name : SN74LS08Function name : AND2
In CR-5000 File Manager, moveto the directory (symbol library)in which you want to create asymbol file:
The Create New dialog will then be displayed.
1.Create a new symbol sheet "and2.smb".Select File New Symbol Sheet from the menu bar.
lllll Creating Symbol Sheets
/Self-training Installation directory/lesson2/Adsymb
Click on OK .
In the File Name field, enter thesymbol name (without the".smb" extension) you wantto register.
Chapter 3 Creating Symbols 3 - 9
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
The initial sheet size is set to "No.0" in the symbol sheet size table.
For details on the sheet size table, see "Chapter 2 2. Resource Files."
The commands disabled duringsymbol registration remains grayedout.
2.Enter the symbol figure.Use the Enter the symbol figure shown below using drawing com-
mands such as [Line/Polyline] and [Arc]:
For entering objects such as lines, refer to "Chapter 3 3. Inserting Figure Objects" in the "BeginnerTraining/Circuit Design" manual.
You can use Symbol Figure in the Place menu to insert an already registeredsymbol sheet.
See Also
See Also
Place Symbol Figure
Chapter 3 Creating Symbols3 - 10
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
(1)To change the sheet size to an arbitrary size in Sheet Editor, followthe steps below:
From the menu bar, select Environment Sheet Size Change Size and Origin .
The cross-cursor appears onthe canvas.
Specify the rectangle enclos-ing the symbol to definethe sheet size.
p2
p1
Pick a point as the origin.
For details, see "Chapter 4 5. Editing Schematics."
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 settingsfrom the table.
See Also
Chapter 3 Creating Symbols 3 - 11
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
For details, see "Chapter 4 5. Editing Schematics."
Setting the symbol sheet sizeThe symbol sheet size determines the recognition area for selecting the object on the schematic tobe created. The symbol sheet size should therefore be the same size as the symbol figure.
Initial sheet size
(2)You can minimize the sheet size to fit the entered figure as follows. From the menu bar, select Environment Sheet Size Fitting
.
Sheet size
(3)Change the sheet origin. From the menu bar,select Environment Sheet Size
Change Origin .
The draggable shape ofthe origin is displayed.
Pick the point to serve asthe origin.
Setting the symbol sheet originSince the origin of a symbol sheet serves as the dragging origin when the symbol is entered, placethe symbol sheet origin at the same position as a pin.
The origin remains at thesame position.
See Also
Chapter 3 Creating Symbols3 - 12
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
Click on a point at whichyou want to place a pin.
The pin ID "X" mark remains atthe point you have clicked on,along with pin ID 1 displayed.The pin number and pin nameproperty viewers are generated atthe same time.
A mark of "X" appears atthe tip of the cursor.
Enter the other pins, up topin ID 3, in the samemanner.
Select the pin to which youwant to assign a pinname.
The pin ID is displayedonly during symbolregistration.
4.Enter the pins to serve as terminals. Pins can be entered only dur-ing symbol registration.
From the menu bar, select Place Pin .
5.Set a pin name for each pin.
What to do if a pincannot be selected?Give the focus to thepin.
1
1
2
3
1
2
3
@pinL@pinN
@pinL@pinN
@pinL@pinN
@pinL@pinN
@pinL@pinN
@pinL@pinN
@pinL@pinN
Chapter 3 Creating Symbols 3 - 13
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
The Set Properties dialog will then appear for setting symbol pinproperties.
Click on [Pin Name] in theproperty list and enter "A"in the property value cell.
Click on Apply .
The property viewer enteredalong with the pin will thendisplay "A".
Move the location of the pin name.
Click on pin name A and move thecursor while holding down themouse button. When the pin nameappears draggable, release themouse button and click on thedesired placement position.
Since the symbol of each gate has a unique pin number, the pin number is set on theschematic sheet. On the symbol sheet, in that case, enter only the pin number propertyviewer.
From the menu bar, select Attribute Change Attribute .
1
2
3
1
2
3
A
@pinL@pinN
@pinL@pinN
A@pinN
@pinL@pinN
@pinN
@pinL@pinN
Chapter 3 Creating Symbols3 - 14
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
@pinL@pinN
@pinN
@pinL@pinN
1
2
3
A
Select the pin to which youwant to assign an I/O prop-erty.
The Set Properties dialog will then appear for setting symbol pin prop-erties.
Click on OK or Apply .
Center "INPUT" (input termi-nal) in the "IO" value cell.
For the I/O property, select one of thefollowing options:
NPUT (input)OUTPUT (output)BIDIRECT (input/output)VCC (power supply)GND (ground)NC
Although the I/O property is set as a pin property, no propertyviewer is entered for it because it is not displayed on the sche-matic sheet.
Pin name: BI/O property: INPUT
Pin name: YI/O property: OUTPUT
6.Set the I/O property of each pin.
7. Set pin names and I/O properties for the other pins.
1
2
3
A
@pinL@pinN
@pinN
@pinL@pinN
Chapter 3 Creating Symbols 3 - 15
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
The Sheet Property dialog will then appear.
Part nameFunction nameReference
Component typeFunction type
8.Set the properties and property viewers to be added to the symbolsheet.
From the menu bar, select Environment Change Sheet Property .
9.Set the component type and function type.Click on the option button to bring up the component type list and select[Gate].
The Sheet Property dialog isseparated in [Properties]and[Sheet Size] as category.Let's make it the condition that[Properties] is selected here.
[Sheet Size]
Chapter 3 Creating Symbols3 - 16
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
The Sheet Property dia-l og rema ins d i s -played.
Click on [Part Name] inthe property list andenter "SN74LS08" inthe property valuefield.
Click on [Function Name]in the property list andenter "AND2" in theproperty value field.
Set [Function Name] in the property list on the Sheet Property dialogto "AND2".
Click on OK or Apply .
Then, display the function type list and select [DEFAULT LOGIC].
10.Set the part name and function name.Set [Part Name] in the property list on the Sheet Property dialog to
"SN74LS08".
Click on Set Value .
Click on Set Value .
Chapter 3 Creating Symbols 3 - 17
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
The [Enter Property Viewer] dialogwill then appear.
Click on [Part Name] in theproperty list, and then on[Apply].
Place the cursor on the can-vas, and the part namethat has been set ap-pears draggable. Clickon the point where youwant to place the partname property viewer.
In the same operation, set the following propertiesto enter them in the symbol sheet,too:Function nameReference
The entered propertyvalues have been set.
Since the reference is alsoentered on the schematic sheet,enter only the property viewer onthe symbol sheet.
11. Enter the property viewers for the part name, function name, andreference as shown below.
With no object selected on the symbol sheet, from the menu bar,select Place Property Viewer .
12.You have now finished entering objects and properties in the sym-bol sheet. Save the symbol sheet and quit Sheet Editor.From the menu bar, select File Exit .
Chapter 3 Creating Symbols3 - 18
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
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.
For information on resource file operation, see "Chapter 2 2. Resource Files" in the "MasterTraining/Circuit Design" manual (this manual).
2.When you perform circuit design using the component library for schematicdesign (LCDB), symbols reflect the LCDB definitions for their properties suchas part names and function names. In this case, you may enter only propertyviewers without setting the properties themselves on symbol sheets.
Part name
Pin number
Function name
If a part name or function name has been set on a symbol sheet, these settings onthe symbol sheet are ignored; information in the component library for schematicdesign (LCDB) is used instead.
Reference
1.The reference files referenced by Sheet Editor for registering symbols are theenvironment resource file (lanenv.rsc) and data resource file (landata.rsc).These are master resource files, allowing symbols to be created always in thesame environment.
3.Before registering a symbol, you should determine the specifications such asthe sheet size and pin pitch. Individual symbols cannot be scaled on the sche-matic sheet.
Pin label
See Also
lllll Notes
Chapter 3 Creating Symbols 3 - 19
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
lllll Using Symbol Pin Editor
[ON]: When entering a numberin the cell, the numbersunderneath the cell are set inorder automatically. [OFF]: A number is entered onlyin selected cell.
In Symbol Pin Editor, t is possible to insert/edit the pin properties using the liston the symbol sheet only when registering the symbols. It is easy to create andedit the multi pin symbols.
Select Property Symbol Pin Editor in the menu bar.Indicate the place the cursor is.
Display the optiondialog.
Pin property value
Set the property to bedisplayed in the symbolpin information table.
Specify [ON/OFF] in thedynamic scroll.
When double-clicking the property name (online1), the cell setting dialog is displayed.
When it is [ON], enter the property vieweror turn the property viewer display [ON].When it is [OFF], turn the property viewerdisplay [OFF]
Chapter 3 Creating Symbols3 - 20
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
2. Registering Symbols
When the cell of the propertyname is blue, there is a pin forwhich the property viewer isdisplayed.
When the candidates of propertyvalue are set in the propertydefinition file PropSpec, those aredisplayed in order with double-clicking the cell.
When option/auto-assignednumber is [ON], [2-22] is enteredautomatically after entering [1].
The property which is set in Symbol Pin Editor is reflected as a pin property byclicking OK or Apply
When selecting the pin on the symbol sheet, cursor is moved to the line wherethat pin is. When selecting the pin where cursor is located, corresponding pinon the schematic sheet is selected.
Reference: For further details, please read the online help in addition.
When the candidates of propertyvalue are set in the property defini-tion file PropSpec, those aredisplayed in the Assist menu.
See Also
Chapter 3 Creating Symbols 3 - 21
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
3. Using Components Manager to Register Symbols
3. Using Components Manager to Register Symbols
Although Sheet Editor used for registering symbols is one of the System De-signer tools, you can also invoke Sheet Editor from within Components Man-ager.
Components ManagerSystemDesignerCR-5000 File Manager
Symbol Editor
lllll Registering Symbols via Components Manager
Chapter 3 Creating Symbols3 - 22
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
3. Using Components Manager to Register Symbols
Try invoking the schematic symbol registration tool (Sheet Editor).
1. On the Components Manager panel, click on the schematic symbolregistration tool start button .
Sheet Editor will be invoked.
The symbol paths to the symbol libraries listed in the Select Symbol Pathoption list in Components Manager are defined in the master data resourcefile ($ZDSROOT/info/landata.rsc).
In this lesson, you will create a new symbol library in a non-listed directory; youcannot select any symbol library from the current option list.
If you select a symbol library(directory) here, the sche-matic symbol registrationtool (Sheet Editor) will startup in that directory.
lllll Invoking the Schematic Symbol Registration Tool
A System Designer tool,Sheet Editor, is used asthe schematic symbolregistration tool.
Chapter 3 Creating Symbols 3 - 23
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
3. Using Components Manager to Register Symbols
2. Select Open File from the menu bar.
For registering symbols, see the previous section "2. Registering Symbols."
The Open dialog will then be displayed.
Change the list display mode to mSymbol Sheet.
Change the current directory to "self-traininginstallation directory/home/lesson2/adsymb".
Enter a file name[AND2] and click on OK .
The specified symbol sheet "AND2.smb" is opened.
See Also
Chapter 3 Creating Symbols3 - 24
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
3. Using Components Manager to Register Symbols
In the lesson in "2. Registering Symbols," you practiced registering a 3-pin gatesymbol. There are other types of symbols as classified into component types,to each of which convenient commands for registration and items to note areapplicable.
The remainder of this chapter provides examples of registering an IC part sym-bol, discrete resistor symbol, power box symbol, and sheet frame symbol,along with some tips for registering symbols.
1.IC part symbol
2.Discrete resistor symbol
Component type:PartFunction type :RESISTOR
Pin ID @ Terminal I/O property name
1 1A INPUT 2 1B INPUT 3 1Y OUTPUT 4 2A INPUT 5 2B INPUT 6 2Y OUTPUT 8 3Y OUTPUT 9 3A INPUT 10 3B INPUT 11 4Y OUTPUT 12 4A INPUT 13 4B INPUT
Component type : PartFunction type : DEFAULT LOGIC
lllll Examples
Pin ID @ Terminal I/O property name
1 BIDIRECT 2 BIDIRECT
Chapter 3 Creating Symbols 3 - 25
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
3. Using Components Manager to Register Symbols
3.Power box symbol
4.Sheet frame symbol
If a sheet frame is created with the sheet frame size equal to thesymbol sheet size, you cannot help selecting the sheet framesymbol when creating the schematic. To prevent this, the sheetframe symbol should be placed at a corner where you merely clickthe mouse when creating the schematic.
With one power pin and one ground pin
Component type:GateFunction type :POWER BOX
Component type:Sheet frameFunction type :DEFAULT LOGIC
Pin ID @ Terminal I/O property name
1 VCC VCC 2 GND GND
Chapter 3 Creating Symbols3 - 26
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
3. Using Components Manager to Register Symbols
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.
Auto-generate Pin No.
A dialog is displayed for pin number auto-generation.
Specify the first pin number to be as-signed.Specify the increment value for pinnumbering.
When registering a symbol, open the Circuit Design Icon dialog from the icon bar.
Click on Auto-generate Pin No. in theCircuit Design Icon dialog.
The property viewers forPin ID 1, Pin No. 1, andfor the pin label areentered.
Click on the pin input icon , then clickon the pin placement position in SheetEditor.
Chapter 3 Creating Symbols 3 - 27
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
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 counter-clockwise.
Clockwise
When registering a symbol, from the menu bar, select Utilities Sort Pin IDs .
Although pin IDs are re-assigned, other properties (such as pin numbers and pin labels) remainunchanged.
Use the cursor in Sheet Editor to click on thepin to which you want to assign pin ID 1.
Pin IDs are re-assigned to all the pins alreadyentered.
Select [Clockwise] or [Counterclockwise],then click on the starting pin position.
The Sort Pin IDs dialog will then appear.
Starting pin
Chapter 3 Creating Symbols3 - 28
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789
3. Using Components Manager to Register Symbols
Re-assigning Pin IDsPin IDs which have already been assigned can be changed via the Set Propertiesdialog for symbol pins.
Click on [ID] to enter the edit mode. Enter the desired new ID number, then click onOK or Apply .
More on pin IDslIf 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.
lAlthough duplicated pin IDs cause an error, they must not necessarily be consecutive numbers, asin Example 1 in which "1" to "6" and "8" to "13" are assigned.