athena% source /fs/u27d/mentor.cshrc
It is better to create a separate directory for your schematic BEFORE entering design architect. To create a directory, use the mkdir command. Now use cd to change into that directory. Then start the program:
athena% da >&/dev/null &
You should see the design architect window pop up. Notice that on the right side of the screen there is a reddish bar that looks like a brick wall; this is your drawing palette. To expose the palette, the screen needs to be enlarged. Drag the window to the lower left corner of the screen, and pull the top bar to expand the window to the size of the screen. The session_palette will now be visible.
Design Architect stores the different layers of a cicruit schematic on "sheets." To open a sheet, click on the "Open Sheet" icon on the palette. Type in the component name being drawn on the sheet, and click OK. Note that Mentor IS case sensitive. You should now see a black window with dots appear within the original window. Notice also how the session_palette has been replaced with the schematic palette. You are now ready to begin drawing.
During the course of drawing, should you ever decide to quit the program, the correct way of exiting is by typing Shift-F12 . There is no exit command that can be found through any one of the menus.
The circuit designed really has no useful function, except that it is simple. It consists of a 74LS163 counter and a VHDL entity. The VHDL entity takes as input the four outputs of the counter, and sets its output high whenever exactly two of the counter outputs are high. The vhdl code is shown below.
library ieee;
entity blackbox is port (
architecture combinational of blackbox is
Step 2: Add the Portin Signals
Step 3: Connect the Rest of the Pins
athena% quicksim.>&/dev/null &
Do not forget to type the period as shown in the command: that is correct! Also be careful to not leave any spaces between the characters in the command.
Dangling pins. Make sure they're properly connected. Note that all pins must be defined as connected to something. Purposeful dangles should be declared as a "not connected" pin.
Schematic Capture using Mentor Graphics Software
1. Introduction to Designing with Mentor Graphics
2. How to startup Design Architect
3. A simple example:
4. Summary of how to input schematic
5. Simulation using QuickSim II
6. Some problems I ran into that you should avoid
7. Some useful Design Architect Commands
8. Links to other web sites that have tutorials/information on Mentor
use ieee.std_logic_1164.all;
end blackbox;
begin
end combinational;
Since the counter is a standard library component, click on the Library icon from the palatte. Select ls_lib from the menu. Scroll down by clicking once next to the last item in the menu until you find the 74LS163a. Double click on this selection. If you then drag your mouse over the black drawing window, you will see the parts icon appear. Click once somewhere in this screen to place the part. You can zoom in or out by going the the lower left corner of the session screen, clicking on the right mouse button, and selecting which option you'd like from the menu. Zoom in or out as necessary so you can comfortably see the entire icon. You can retrieve the schematic palette by clicking with the right mouse button anywhere over the library menu and selecting Display Schematic Palette .
Any input that is an input for the overall system needs to be connect to the portin symbol. For this system, the only input we'll have is a clock signal. Go back to ls_lib . This time select portin from the menu. Place the symbol next to the clock input of the counter, and click once. Use the Add Wire icon from the palette to connect the port to the clock pin.
Using the Add Wire icon, and the ground and vcc components in the ls_lib menu, connect the data inputs to ground, the ENP and ENT inputs to power, the LOAD pin to the RCO, and the CLR pin to power.
To start up QuickSim, type the following command at the athena prompt:
F2: Deselects everything.
Shift-F12: Exits any Mentor application. Note that you will need to first exit the sheet, before you can exit Design Architect or QuickSimII completely.
Design Architect Main Page
QuickSimII Main Page