Sunteți pe pagina 1din 7

1

TUTORIAL
HOW TO USE GATEWAY SCHEMATIC EDITOR

1. Click on GATEWAY icon or run it from Linux shell inside bin folder: ./gateway
Then go to File-> New workspace

Give one workspace name. Then one new window will come





2



2. The Add ->browse
Normally default library path is /example/gateway/libraries/
Then select one or more than one library. Basiclib and spicelib library is common for any design.
Repeat this process to add another library.
Just click on library folder such as spicelib or basiclib then ok
Repeat the same to add another library. Also you can add any external lib by using same process.
Library contains symbol of components and other parameters.
In Red hat sometimes you have to assign library name manually after adding library if it is
unable to assign any lib name after adding . In the fig given below it automatically assign lib
name as analog(although it is windows version , Linux platform may create problem).




3. After successful addition of library all library will be displayed in left hand side of windows in
capture/simulation tab.
4. Then go to File->new schematic, give one name , schematic with black background will appear.

Then click on any library to get component. All component will be displayed in symbol tab
shown in fig below:
3



You can scroll mouse to zoom the workspace. Click on any symbol to place it in workspace and
after placing press Esc .
5. To connect component go to Draw-> wire Also wire shortcut available in menu (one pencil
symbol with thin line).
6. To connect wires easily place mouse pointer near terminal you want to connect and then press
s. To escape press Esc. To rotate or to change path click on schematic and go to next terminal
of component and again presss. Wire connection will be established automatically. To check
the connection presscheck this level button in toolbar(beside letter A). Draw all component
and put all parameters of all component. Otherwise after pressing check this level it will show
error message.
7. To set parameter of any device select the device-> press Q. Then one window will appear
similar to fig given below. This fig shows property of a pmos.
4



Here <MNANE> is the pmos model name described in model file for example it is <pch>. No
model file is supplied with gateway. You have to use external model file for MOS.
W: width of mos (suppose 1u or 500n)
Same parameter for W.
Those are three main parameter required for MOSFET for successful simulation. If you want you
can enter other parameters.
The press ok.

8. When circuit design and checking is complete then save all workspace and schematic. Then click
on simulation tab in left side of window (beside capture tabe, at the bottom of symbol tab)
9. The check upper corner in left side . one msg may be there similar tocontrol deck empty
10. Click on edit. One window appear. Insert all control parameter i.e vdd gnd etc
5


Here click on spice tab to insert all control and analysis parameter such as dc, transient or ac analysis.
To add SPICE model file or include any file click on SPICE-> add .lib or .include then file path -> ok
It will add one line in the editorSEdit. After adding all parameters save the file and ok.
Typically simulation parameters are:
1. Vdd, gnd declaration (if not drawn in main circuit)
2. Global parameter declaration
3. Types of analysis etc

11. Then go back to schematic and click on post process-> mark voltage or current. Click on any wire
on schematic to plot that voltage after simulation and click on any node to plot current flowing
through that node. No need to edit anything in plot option(left side)
12. After doing this go to simulation-> change simulator->Smartspice. Shortcut also available in right
side in design browser. Click on Smartspice icon in that design browser.
13. After setting simulator click on Run in simulation menu or press F4. Your design will be simulated in
Smartspice and result will be displayed on SMARTVIEW waveform viewer. If any error or warning
occurs it will be displayed in error message window (at bottom portion of gateway.)

Some screenshot:
6


Fig: At simulation tab, those node voltage(blue color(such as V(net 6))) will be displayed after simulation

Fig: control deck for this simulation
7


Result displayed on smartview after simulation

S-ar putea să vă placă și