SCHEMATIC AND SYMBOL DESIGN WITH DESIGN ARCHITECT
Invoking Design Architect
- UNIX command line: da
- Design Manager:
- Double-click on design_arch in a tools window
or
- Select a component in a navigator window and from the popup menu select:
Open design_arch.
Schematic design steps
- Open a drawing "sheet".
- Instantiate components (select them from a library and place them on the sheet).
- Draw wires (pin-to-pin wiring connections) to interconnect the components.
- Create/modify component and wire "properties"
- Unique "net" name for each wire.
- Single wire: ctrl
- Bus of wires: data(7:0)
- Timing parameters (rise and fall times) for gate pins.
- Add "comments" in text or graphical form.
- Check the sheet for errors.
- Save and register the schematic sheet.
Opening a schematic sheet
A schematic drawing represents a component and may comprise one or more drawing sheets. All sheets and information for one component are contained in a single directory called a component container.
- Click on the OPEN SHEET icon in the Design Architect session palette
- In the dialog box that appears,
- Enter the component name. Keep sheet1 as the default sheet name unless the drawing requires multiple sheets. Click on OK.
or
- Click on navigator, use it to locate and select the component container, and click on OK.
NOTE: If the component does not exist, a new one will automatically be created.
The Schematic Palette and Function Menus
The palette of function buttons that appears is one of four that can be displayed. Each contains functions pertaining to a specific type of activity. Most schematic drawing operations use the ADD/ROUTE or TEXT palettes.
- Change palettes by clicking on one of the top four buttons.
SESSION - session control (open sheet, open VHDL, etc.)
ADD/ROUTE - place components on a sheet and connect with wires
TEXT - add net names, properties, and comment text
DRAW - draw geometric shapes for comments
DSP FLOW - for digital signal processing applications
- The six blue buttons in the middle are applicable to all windows.
UNDO -> undo the last command
DELETE -> delete a selected object
MOVE -> move a selected object
COPY -> copy a selected object
UNSELECT ALL -> unselect all currently-selected objects
SET SELECT FILTER -> specify what is to be selected within an "area select" command
- The remaining icon buttons are unique to each palette type, and provide functions for:
ADD/ROUTE - manipulating symbols and drawing wires
TEXT - adding or changing properties and text items
All commands can also be activated via popup menus and/or pull-down menus from the menu bar. In addition, many of them can be activated via function keys, as indicated on the bottom of the display.
Common Schematic Drawing Operations
Undoing and redoing operations:
- Click on the UNDO icon in the schematic palette or: Edit > Undo
- To redo an action that has been undone: Edit > Redo
Changing the on-screen view of a Schematic Sheet
- Make the entire schematic fit the screen:
View > All (Function key SHIFTF8)
- Make a selected area fill the screen:
- View > Area (or hold down function key F8)
- Drag a rectangle around the desired area (with the left mouse button)
- Zoom In/Out by selecting:
View > Zoom In
View> Zoom Out.
- Center the schematic on the screen.
- View > Centered
- Click at point desired for new center.
- Use the window scroll bars to pan (move) the view right/left/up/down.
Select/Unselect Objects on the Schematic Sheet
- Click on an object to select an individual object (it becomes highlighted).
- Click on a selected object to unselect it.
- To unselect/select all objects on the sheet:
- Click on the UNSELECT ALL button in the schematic palette
(or Edit > Unselect > All or Function key: F2)
- Edit > Select > All
- To select/unselect objects within an area: drag a rectangle around the desired area.
- Edit > Select > Area (Function key: F1)
- Edit > Unselect > Area (Function key: SHIFTF2)
NOTE: The pulldown menu allows you to specify the type of objects affected by Select/Unselect All or Area.
Alter or reorient one or more objects on a schematic sheet
- Delete an object:
- Select the object
- Click on the DELETE button in the schematic-palette or press the DELETE key or select Edit > Edit Operations > Delete
- Copy an object:
- Select the object
- Click on the COPY button in the schematic-palette or press function key CTRL-F3
- Drag the ghost image of the object to the desired location on the sheet.
- Click to fix the object at the new point.
- Click on OK to end.
- Move an object: use the same procedure as for copying, except use the MOVE icon (or function key CTRL-F2).
- Flip an object from right-facing to left-facing or vice-versa:
- Select the object
- Click on the FLIP button in the schematic-palette or Edit > Edit Operations > Flip
- Rotate an object 90 degrees clockwise,
- Select the object
- Click on the ROTATE button in the schematic-palette, or Edit > Edit Operations > Rotate
- Align a group of objects:
- Select the objects
- Click on the ALIGN button in the schematic palette, or Edit > Edit Operations > Rotate
- In the popup form, indicate how you want them aligned.
Instantiating components on the sheet
Select components from supplied libraries
- Generic Library (gen_lib) - Mentor Graphics-supplied library of standard digital gates, latches, and flip flops.
- Select Libraries > MGC Digital Libraries > Display Libraries Palette to produce a menu of available libraries.
- Click on gen_lib to produce the menu of parts in that library.
NOTE: The other libraries in this list no longer exist. They have been replaced by the Board Process Library (BPL).
- Board Process Library (BPL) - Mentor Graphics-supplied library of digital and analog components for different technologies.
- Click on the LIBRARY button in the schematic palette (or select Libraries > MGC Board Process Libraries > Display Libraries Palette) to produce a menu of available libraries.
- Click on a library name to produce a menu of parts in that library.
The available menus are:
- Active Discrete: transistors, diodes, LEDs, SCRs, etc.
- Analog IC: various analog functions
- Glue Logic: 74xx and 54xx digital gates, flip-flops, and other SSI/MSI functions in various technologies
- Memory: static/dynamic RAMs, EPROMs, PROMs
- PLD: standard PAL and PLA devices
- Optical: Opto-electrical devices
- Other Digital: various MSI and LSI chips
- Other: circuit breaker, fuse, relay, test point
- Capacitor
- Inductor
- Resistor
- Connectivity Symbols: power, ground, input/output connectors, bus ripper
- ASIC Design Kit - Mentor Graphics-supplied library of standard cell functions for creating integrated circuits in AMI 0.5 or 1.2 micron n-well technologies.
- Select Libraries > ADK Library to change the palette to a menu of available standard cell function types.
- Click on a function type to produce a menu of parts of that type.
- SPECIAL FUNCTIONS:
- SDL Parts: portin, portout, transistors, etc. for creating ICs via Schematic-Driven Layout.
- Analog SDL Parts - components for creating analog ICs via Schematic-Driven Layout.
- XILINX FPGA and ALTERA PLD Libraries - are available via the Libraries pull-down menu when Design Architect is invoked via pld_da or max2_da, respectively.
- Select a component by clicking on its name in the library list.
- Place (instantiate) the component by moving the mouse pointer to the schematic sheet, dragging the "ghost" of the component symbol to the desired location on the sheet, and then click to fix the symbol at that location.
- Use palette buttons to flip, rotate, move, or copy symbols as needed to create a "neat" schematic.
- NOTES:
- You may need to add scroll bars to see all of a library or parts palette. Do this via the palette pop-up menu.
- You may also click in the palette and use Page Up or Page Down keys to scroll through a list of parts.
- It is usually easier to copy a component that is already on the sheet than to select another instance of it from the library menu.
- Do not allow symbols to overlap on the sheet.
- Use portin and portout connector components to connect signals to external sources.
User-designed components
- To select a user-created component, click on the CHOOSE SYMBOL button in the schematic-palette (or select Instance > Choose Symbol) to pull up a navigator window.
- Find the desired component using the navigator, click on it, and then click on OK.
- Place the component as above.
Switching between library and schematic palettes
- Within the schematic palette and library/parts list area, a pop-up menu is available which allows you to:
- Show scroll bars
so you can scroll through library/parts lists
- Display Schematic Palette
(restore the schematic-palette)
- Set Default Palette
(Make a component list a "default palette" that can be redisplayed quickly).
- Display Default Palette
(pull up the palette defined as default)
- NOTE: By making a component list your default palette, you have a convenient method for toggling between the schematic-palette and the component list.
Interconnect Components with Wires
- A wire is a single electrical net used to connect device pins or other wires. Each wire is assigned a unique name by Design Architect, which can be changed to something more meaningful to aid in identifying the net during simulation.
- Click on the ADD WIRE button in the schematic palette to enter "Add Wire" mode.
(You may also press function key F3 or select Wire: from the popup menu.)
- Create the starting point of a wire by clicking on a component pin or on some point on another wire.
- Draw the wire by moving the cursor, clicking at each intermediate point (vertex).
- End the wire by double-clicking on a component pin or at a point on another wire.
- Repeat steps 2-4 for each additional wire.
- Click on OK in the ADDWI form at the bottom of the screen to exit "Add Wire" mode.
- NOTES:
- The BACKSPACE key erases the last segment drawn.
- The DELETE key aborts the highlighted (current) wire.
- Wires can be "autorouted", i.e. Design Architect can be told to automatically reroute any wire to make it look "nice".
- Turn autorouting on/off via: Setup > Set > Autoroute on All wires drawn after this will be autorouted.
- Autoroute a specific wire or group of wires by selecting them and clicking on the ROUTE SELECTED button in the schematic palette.
Assign a unique name to each wire
- A wire name is an example of a "property", having a name and a value. Net names are needed for simulation and other tools. Each wire is given the default name NET when it is created. These must be changed to unique names.
- Click on the TEXT button to bring up the Text Palette.
- For wires that already have displayed names:
- Click on the CHANGE VALUE button in the Text Palette.
- Click on a name or drag a rectangle around multiple names to select them.
- A "Property" form appears, showing the current name in the "property value" space. Enter the desired name and hit RETURN (or click on OK).
- If multiple names were selected, repeat step 3 for each selected object.
(Each Property form is automatically displayed.)
- For wires that do not already have names:
- Click on the NAME NET button in the Text Palette.
- Click on a wire or drag a rectangle around multiple wires to select them.
- A "Property" form appears. Enter the desired name in the "property value" space and hit RETURN (or click on OK).
- Move the mouse to drag the "ghost" name to the desired location and click to place the name at that location.
- If multiple wires were selected, repeat steps 3 and 4 for each
(a new Property form is displayed for each).
- To assign a numbered sequence of wire names (Eg. for buses):
- Click on the SEQUENCE TEXT button in the Text Palette.
- In the form, enter
- the "prefix" part of the name
- the first numeric suffix
- the increment value
Ex. To name signals: Data0,Data1,...,Data15
Prefix = Data
Beginning index number = 0
Step by = 1
- Drag a rectangle around the group of wires to be named to select them.
- The wires are automatically named, in top-to-bottom or left-to-right order.
Creating and Naming Buses
- A bus is a bundle of wires represented by a single "fat" wire to reduce the complexity of a schematic drawing. A bus is assigned an indexed net name of the form B(3:0), where "B" is the name of the bundle, and "3:0" are the indexes of the most and least significant bits of the bus, respectively, i.e. B(3:0) represents nets B(3), B(2), B(1), and B(0). Indexes may also be given in ascending order, i.e. B(0:3), where B(0) and B(3) are the most and least significant bits, respectively. Buses are created using the procedures described above for creating and naming wires, with the following differences.
- Click on the ADD BUSbutton in the schematic palette to enter "Add Bus" mode.
- Draw a bus as you would draw a wire, as described above. Buses are drawn as "fat" wires to help distinguish them.
- Assign a net name to a each bus as you would for individual wires, but use the indexed form B(3:0), as described above. The range of indexes define the number of wires in the bundle.
Bus Rippers
- A bus ripper separates (rips) a bus into individual wires or smaller bundles for connection to component pins or other wires. A menu of ripper components is available in the generic parts library. Bus rippers are connected as follows.
- The ripper structure, ex. 4x1, determines the number of individual components that are separated from the bus.
- The "fat" end of the ripper must be connected to a bus and the "thin" ends of the ripper to individual wires or component pins.
- The individual components of the ripper are all initially labelled "R" (for "Ripping Rule"). Each "R" must be changed to a number (using "Change Properties") corresponding to the index of the wire being separated from the bundle. The following connects pin W 0f a device to bus wire B(3), pin X to B(2), pin Y to B(1) and pin Z to B(0).
Example: B(3:0)_________________________
R \ R \ R \ R \
\ \ \ \
Change to: B(3:0)_________________________
3 \ 2 \ 1 \ 0 \
________\_____\_____\_____\____
| W X Y Z |
| |
- A portion of a bus may be separeted from a bus by specifying a range of indexes for the ripping rule (R) as in the following:
B(3:0)_________________________
\
2:1 \________ A(1:0)
- This ripper connects A(1) to B(2) and A(0) to B(1), associating indexes from left to right, i.e. most to least significant.
Check the sheet for errors:
- From the pull-down menu, select: Check > Sheet
or press function key CTRL-F5
Save the sheet:
- From the pull-down menu, select: File > Save Sheet.
To plot a hard-copy of a schematic sheet:
- From the pull-down menu, select: File > Print Sheet
- When prompted, enter printer name mentor_ps
- You will receive an email message with instructions on sending the sheet to a designated printer.
Exit Design Architect:
- Select CLOSE from window menu.IV.
CREATING SYMBOLS WITH DESIGN ARCHITECT
A. A SYMBOL is a graphical element representing a schematic or other circuit model comprising:
- Shape
: a graphical image (create/alter with the symbol editor)
- Pins
: electrical connection points
- Origin Point
: reference point for placing the symbol on a schematic sheet
- Properties
: information regarding the function of the symbol (ex. Pin name)
- Comments
: text or graphical.
B. A symbol can be created automatically to represent a schematic drawing.
- While the schematic drawing is open, select (pull-down menu):
Miscellaneous > Create Symbol
- The created symbol will appear on the screen, consisting of a simple block with pins, named according to the input/output ports on the schematic.
- The symbol must be "checked" for errors by selecting: Check > With Defaults
- Save the symbol by selecting: File > Save
The symbol can be subsequently altered with the Symbol Editor.
C. Creating a symbol manually with the Symbol Editor:
- Open a Symbol Editor Window by clicking on the OPEN SYMBOL icon in the session-palette.
- Supply the component name in the same manner as described above for a schematic.
- Note that a "symbol-palette" appears.
- Draw the desired shape, using rectangles, circles, lines, arcs, polylines, polygons, and dots.
- The symbol-palette contains drawing primitive buttons:
ADD RECTANGLE, ADD CIRCLE, ADD ARC,
ADD POLYLINE, and ADD POLYGON.
or from the popup menu select:
Add Graphics > Line,
Add Graphics > Rectangle, etc.
- Be sure to draw lines to represent pins. (MG calls them "whiskers")
- Define pins, i.e. specific points to which electrical connections will be made.
- Click on the ADD PIN button in the symbol-palette
(or select Add Pin(s) from the popup menu.)
- In the "Property Value" box on the Add Pins prompt bar that appears, enter the desired pin name.
(This should be the same as the corresponding port name in the schematic drawing.)
- Click on OK in the Add Pins prompt bar.
- Click once at the point on the symbol at which the pin should be placed. (A diamond shape appears.)
- Move the shadow of the pin name to the desired point and click again to fix its place.
NOTES:
- Multiple pin names may be entered in the step above with the pins placed in the order entered.
- The size/orientation of pin names can be changed as desired.
- Note the cross which represents the origin point. You may move the symbol shape as desired to change this origin point.
- Check the symbol via Check > With Defaults
- Save the symbol via File > Save
D. The new symbol can now be intantiated in any schematic drawing.