dwl3_logo_wide.gif (5892 bytes)

Creating Device Symbols and Libraries

This tutorial gives you a closer look at some of the DesignWorks Lite features for creating your own device symbols. Topics covered on this page include:

Creating a New Library
Creating a Device Symbol
Setting Default Part Attributes
Entering Pin Names and Numbers
Saving and Using the Part
Auto-Creating a Symbol

 

wpeB.jpg (2535 bytes)

Starting the Program

· If it is not already running, double-click on the DesignWorks icon to start the program.

wpeE.jpg (9028 bytes)

Creating a New Library

· Right-click on the Parts palette's parts list and select the "New  Lib" command from the pop-up menu.

· Create a new library called "MyLib.clf" in the Libs directory.

Device library files hold collections of part symbols along with associated pin function information, default attribute values and external circuit references. A single library can contain from one to thousands of part definitions, to suit your needs.

wpe11.jpg (13752 bytes)

Creating a Device Symbol

· Select New from the File menu. 

· In the "New" dialog select "Device Symbol".

The DevEditor window contains a drawing area for your symbol, a tool palette and a pin list. The tool palette includes standard drawing tools plus special items for normal, inverted and bus pin placement.

wpe12.jpg (14148 bytes)

Creating a Device Symbol (cont'd)

· Click on the polygon () tool in the tool palette.

· Draw a symbol similar to the one shown (Note: double click on the last point to terminate polygon drawing).

 

Creating a Device Symbol (cont'd)

· Select the () pin tool.

· Place input pins on the symbol by clicking at the positions shown.

· Select the () pin tool.

· Place an output pin as shown.

Note: The crossbar portion of the T pin tool only appears during placement and dragging for alignment purposes.

wpe13.jpg (16574 bytes)

Setting Default Part Attributes

· Return to the pointer () tool.

· Select the Part Attributes command from the Options menu. (Note: there will be no attributes in the list if there is no active design).

· Select the Part field in the list.

· Enter the value "LM741".

· Select the Package field in the list.

· Enter the value "NAT8DPN" or other package code.

· Click the Done button.

These attribute values will appear as the defaults when this part is used on a schematic. If desired, these values can be overridden for each individual device.

 

 

wpe14.jpg (16268 bytes)

Entering Pin Names and Numbers

· Double Click on the PIN1 item in the pin list and then type in the name "INA".

· Click in the "Pin Number" text box and enter 2

· Double Click on the PIN2 item in the pin list and then type in the name "INB".

· Click in the "Pin Number" text box and enter 3

· Double Click on the PIN3 item in the pin list and then type in the name "OUT".

· Click in the "Pin Number" text box and enter 6

· Select "Output" in the Pin Function drop-down menu.

We have now entered default values for the pin numbers. These can be edited on the schematic for individual pins, if desired.

wpe15.jpg (14042 bytes)

Saving and Using the Part

· Select the Save As command from the File menu.

· Enter the part name "LM741" or any other desired name.

· Click on the "MyLib.clf" library in the list to select a destination and press "Save".

· Close the DevEditor.

wpe17.jpg (2835 bytes)

Saving and Using the Part (cont'd)

· If it is not already selected, select the "MyLib.clf" library in the drop-down library list in the Parts palette.

· Double-click on the newly-created part and place one in the schematic.

 

 

wpe18.jpg (10563 bytes)

Auto-Creating a Symbol

For standard types of rectangular symbols, the Auto Create feature will generate a symbol for you in seconds.

 

· Select New from the File menu. 

· In the "New" dialog select "Device Symbol".

· Select the "Auto Create Symbol" command from the Options menu.

· In the Name box, enter "ALS374", or any other desired symbol name.

· In the "Left Pins" box, enter the text "D7..0(9..2),,,CLK(1)".

"D7..0" will generate a set of 8 pins named D7, D6, etc. "(9..2)" are the corresponding pin numbers. The three commas indicate that we want extra space between these pins. "CLK(1)" creates a single pin called CLK with pin number 1. The pin numbers can be omitted, if desired.

· In the "Right Pins" box, enter the text "Q7..0(12..19)".

· Click on the Generate button.

Auto-Creating a Symbol (cont'd)

The auto-generated symbol should now display the pins and pin numbers entered above. These items can be edited using the drawing tools and Pin Info dialog, if desired.

· Select the Save Part As item in the file menu and save the new part to the "MyLib.clf" library.

· Close the DevEditor window.

 

This completes the tutorial section "Device Symbol Editing".

DesignWorks Lite Manual Home Page

 

Copyright 2001-2003  by Capilano Computing Systems Ltd.  All rights reserved.  If you have any questions or comments on our site or products, please email us at info@capilano.com - Contact Info - Privacy Statement