Chapter 2 of 14 · about 20 min
Getting started: log in and meet FOSSLab
All the programs run on the course server eda.example.edu. You see them on your computer through a remote desktop (X2Go, recommended) or through SSH with X forwarding.
1. Log in
Option A: X2Go (a full desktop, best for layout work)
- Install the X2Go client from wiki.x2go.org (Windows, macOS, Linux).
- New session: Host
eda.example.edu, Login your user name, Session type XFCE. - Connect. The first time, you are asked to change your password.
Option B: SSH with X forwarding (Linux, or macOS with XQuartz)
$ ssh -X your_user@eda.example.edu
Every window then opens on your own screen. This is fine for schematics; for large layouts X2Go is much faster.
2. Start the Library Manager
In the XFCE menu: Development > FOSSLab Library Manager. Or, in a terminal:
$ fosslab
The first time, it creates your workspace, the folder ~/fosslab, with one empty library called work.
3. The window
| Part | What it shows |
|---|---|
| Libraries (left) | Yours under Workspace; the IHP PDK libraries (read only) below: sg13g2_pr (transistors, resistors, capacitors), sg13g2_stdcell (logic gates), devices (sources, ground, pins), sg13g2_tests (IHP’s example testbenches). |
| Cells (middle) | The cells of the selected library, with a dot for each view it has (Sch, Sym, Lay) and a tick or a cross for its last simulation, DRC, LVS and PEX. |
| Views (right) | The files of the selected cell, including the results of the flows (netlists, extracted circuits). |
Double-click a cell or a view to open it. Right-click a library, cell or view to see everything you can do with it. The buttons at the bottom act on the selected cell.
4. Moving between views and through the hierarchy
Inside xschem and KLayout there is a FOSSLab menu:
| In xschem | In KLayout |
|---|---|
| Open layout of this cell / of the selected instance Hierarchy browser Show cell in Library Manager Create/update symbol from pins Create testbench for this cell Simulate, DRC, LVS, PEX |
Open schematic / symbol of this cell Hierarchy browser Show cell in Library Manager Run DRC, LVS, PEX |
In xschem itself: select an instance and press e to descend into its schematic, i into its symbol, Ctrl+e to go back up. The Hierarchy browser shows the whole tree at once, with the views and verification status of every block.
5. Try it: the self-test
In the Library Manager, Tools > Run self-test. In about a minute it builds an inverter in a temporary folder and runs the whole flow on it with the real IHP process: simulation, DRC, LVS, extraction and post-layout simulation. Every line should say PASS.
Flows:
[PASS] ngspice simulation: simulation finished, 1 .raw file(s); tpd = 19.0 ps
[PASS] DRC (IHP deck): DRC clean: 0 violations
[PASS] LVS (IHP deck): LVS clean: netlists match
[PASS] PEX (Magic): extracted 2 devices and 5 parasitic capacitors
[PASS] post-layout simulation: tpd = 21.4 ps (schematic: 19.0 ps)
Notice the last line: the extracted wire capacitances make the inverter about 12 % slower than the schematic predicts. This is what post-layout simulation is for.
~/fosslab.