Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Xwin32 is a Xwindows server for windows which provides the interface to remotely access the
resources of a network system usually a computer server.
Step1: Starting X-win32
When you start X-Win32 you will be greeted by the splash screen. It will then seem to disappear
without the program having started. The server actually is running and an icon will appear in the
notification area of the taskbar. See fig 1
Fig 1
X-win32 icon
Fig 2
You will then get the X-config window as shown in fig3. From here you can configure how XWin32 behaves and looks
Fig 3
Step3: Connection setup information
For an easy connection setup, click on the Wizard button under New Connection. In the
name field type a name that you would like to call this connection. Lets use Lab1 as an example.
You should then select ssh from the type box. You can now click next.
Fig 4
Step4: Add a host
You should now enter the full name of a machine you wish to connect to. In our case, the name
of the host or server to connect to is cadence.ncat.edu (See fig 5). Click Next to go to the next
screen.
Fig 5
Fig 6
Click Next to go to the next screen.
Step6: The startup command
When you first connect you will need to run a command. Select Linux from the list given and
the Command text field will initialized automatically. See fig 7
Fig 7
Click finish. You now go back to the X-config screen. But now you will have a connection
session listed under My Connections under the connection name that was previously assigned
(Lab 1 for our example). See fig 8
Step7: Connecting
Now you are ready to connect to the cadence server and run some programs.
Fig 8
Highlight your session and click the Launch button to open a terminal window shown in fig 9
Fig 9
From here you can use the command line to start programs.
Step8: Launching programs
In the next section under Cadence Quick Start, you will be shown the terminal commands for
running cadence design tool.
Step9: Starting once configured
Once you have a connection/session stored you can go back to it from the X-Win32 icon in the
task tray. Simply right click, go to ' My Connections' and select the connection you want to use
(see fig 10). Alternatively, run X-Win32, go to the X-Config window, select connection name
and click Launch.
NB: If you move to another machine other than the previous machine used for initial setup, you
have to redo above steps to create a new connection.
Fig 10
features. Some technologies do not require any customization in the .cdsinit file, but one is
usually provided as a means to facilitate customization.
cds.lib This is a file that is used to include the libraries that are going to be used in your
cadence session. Typically this file will include standard cadence libraries (analogLib, basic), a
library provided by a foundry in a Process Design Kit (PDK), and any personal design libraries.
display.drf This is a file that contains display properties for all of the layers that are to be used
when performing IC layout with Cadence Virtuoso.
There can, of course, be other files in a project directory, but the ones listed above are necessary
for a typical Cadence session. Design libraries will be represented as other directories inside the
top-level project directory.
Fig 1
Now, if you list the directory contents, you will see that the directory newproject exists:
$ ls
newproject
Fig 2
2. Setting up the Linux environment for Cadence
Typically, a setup script is run to prepare your project directory for running Cadence. There is
one PDK on the system from the foundry IBM which is IBM 0.18um RF CMOS process,
where 0.18um refer to the smallest gate dimension allowed on the MOSFET in the process.
First you need to change to the newproject directory:
$ cd newproject
Fig 3
Fig 4
From fig4, your present working directory changes to newproject
Then the environmental settings should be done by running a custom startup script for the
technology (we made is easy for you by simplifying it to a command):
Type script name + enter
$ cadence18_61v2
Fig 5
Environment set up to run IBM 0.18 RF
Type virtuoso
Fig 6
Again, list the contents of the directory, and you will see that the special files have been copied
to your new project directory:
$ ls
cds.lib display.drf and some other essential files
Fig 7
IMPORTANT: The runtime environment that was set up by the startup script is only good for
that specific terminal. Any time you wish to run cadence from a fresh terminal session, you will
have to source the startup script again.
Fig 8
This window contains a log of the session and is also the window from which most design tasks
can be initiated. The rest of this document will refer to this window as the CDS.log window, or
CDS command window. Those who have used cadence for a number of years may refer to this
window as the CIW window.
Creating a library
From the CDS command window click on IBM_PDKLibraryCreate menu pick. It will
bring up the following New Library dialog.
Fig 9
You need to supply the name of the library. The path to the library will be automatically created
to the project path from where you started cadence. Click Attach to an existing techfile on the
right side. The Technology File options are explained in the dialog, and in this case, we will to
attach the IBM library by selecting the cmrf7sf from the list in case we want to do layout in the
future. Click on OK, a new window shows the current library properties. Click OK, the library
has been created.
Fig 10
Fig 11
Creating a schematic
Once the library has been created, a new cellview for the schematic of the design needs to be
created. Open library manager by ToolsLibrary Manager. From the library manager window,
click on the FileNewCellview menu pick.
Fig 12
You will want to make sure the library name that you select is the new library that was just
created the other libraries will not be writable by standard users. Selecting Schematic L under
Application will automatically place schematic in for the View Name. Assign a name and click
OK
Fig 13
Once you click on OK, the Virtuoso Schematic Editor window will appear. The window provides
you with the tools and working area for designing your circuit.
Fig 14
Once the schematic window is opened, click Check and Save to save the schematic in your
first shot even there is nothing in this window. Otherwise, the schematic cell view would not be
created.
Metallization
M1 pitch / thickness
MX pitch / thickness
Resistors
p+ diffusion
n+ diffusion
p+ polysilicon
p- diffusion
Tantalum nitride on M1
(K1)
HOW TO DRAW I-V CURVE OF AN NMOS IN CADENCE
Cu (M1), Al (MX)
0.44m / 0.31m
0.56m / 0.48m
105/ / 15%
72/ / 10%
270/ / 15%
1600/ / 20%
61/ / 6%
Schematic Entry:
Create a cellview and draw the circuit below. Note that to do a parametric simulation
the DC Voltage value of V1 and V2 should be vds and vgs respectively.
Copy the circuit variable to this window thru Variables -> Copy From Cellview.
Assign a value for each variable (i.e. vgs=500m, vds=1.8)
Click on the green button to run simulation (or Select Analysis-> Start Selected)
The Cadence Spectre will run and plot the graph below.
You can also check MOS DC operating points by clicking Results->Print->DC Operating Point
in the Analog Environment Window and then clicking on the MOS in the schematic. It will open
the window below where you can find all transistor model parameters based on the DC analysis
you run.