Skip to content

Commit c4d441e

Browse files
committed
Separate tutorials
1 parent 902cd1a commit c4d441e

File tree

4 files changed

+58
-56
lines changed

4 files changed

+58
-56
lines changed

klayout-drc.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
2+
# Running DRC
3+
4+
5+
There are a few options for running DRC:
6+
- BEOL: "back-end of line" or device layer checks only
7+
- FEOL: "front-end of line" or metal layer checks only
8+
- Full: Both BEOL and FEOL checks.
9+
- Custom: A custom set of DRC checks (BEOL, FEOL, grid, seal, etc.)
10+
11+
Sometimes, you might want to run just the FEOL checks to save run-time if, for
12+
example, you are just checking the routing and you know your standard cells
13+
pass DRC.
14+
15+
If you run DRC (Full), you wil get a window with the results like this:
16+
17+
![DRC Marker Browser with no errors](klayout/klayout-marker-browser.png)
18+
19+
which has the DRC errors (if any) categorized by the cell, type, etc. The
20+
inverter should pass DRC with no errors.
21+
22+
If you load the "sky130_fd_sc_hd__inv_1-errors.gds" file, and run DRC, you should
23+
see the following errors (after expanding the tabs):
24+
25+
![DRC Marker Browser with errors](klayout/klayout-marker-browser-errors.png)
26+
27+
If you click on a given error, it will open an explanation as well as highlight
28+
the related error in the layout with a thin black line.
29+
30+
Detailed explanations of the DRC errors can be found in the Sky130 documentation:
31+
[https://skywater-pdk.readthedocs.io/en/main/rules.html](https://skywater-pdk.readthedocs.io/en/main/rules.html)
32+
We highlighted the poly rule and can go to the "poly" section to see the details:
33+
34+
![Poly design rules](klayout/klayout-poly-designrules.png)
35+
36+
Specifically, poly.7 specifies the "Extension of diffusion beyond poly" and poly.8 specifies the "Extension of poly beyond diffusion".
37+
If you look closely at the examples, there is an example of poly.7 and poly.8 with measurement markers:
38+
39+
![Poly.7 and poly.8 examples](klayout/klayout-poly7-poly8.png)
40+
41+
In the example, there are also licon.1 and licon.5 errors which are available
42+
in the [licon
43+
section](https://skywater-pdk.readthedocs.io/en/main/rules/periphery.html#licon)
44+
of the design rules.
45+
46+
47+

klayout-edit.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
# Editing shapes in KLayout

klayout-lvs.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
# Running LVS
3+
4+
Make sure to uncheck the "scale" option in the LVS dialog box. Sky130 uses an
5+
odd scale factor in the spice netlist of microns instead of meters. If you
6+
don't uncheck this, the transistor sizes won't match and your LVS will fail.
7+

klayout.md

Lines changed: 2 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ the following contents:
7777

7878
![Sky130 menu](klayout/klayout-sky130-menu.png)
7979

80-
### 2.5D Viewer
81-
8280
The 2.5D viewer lets you look at and interact with a "3D" view of the layout:
8381

8482
![2.5D Cell View](klayout/klayout-d25.png)
@@ -87,61 +85,9 @@ This is useful for seeing how the the cell will look with the z-dimension
8785
information. Note that commercial tools do not have this feature and it is only
8886
really used for educational purposes.
8987

88+
The [DRC](klayout-drc.md) and [LVS](klayout-lvs.md) tools are also available in the Sky130 menu.
9089

91-
### Running DRC
92-
93-
94-
There are a few options for running DRC:
95-
- BEOL: "back-end of line" or device layer checks only
96-
- FEOL: "front-end of line" or metal layer checks only
97-
- Full: Both BEOL and FEOL checks.
98-
- Custom: A custom set of DRC checks (BEOL, FEOL, grid, seal, etc.)
99-
100-
Sometimes, you might want to run just the FEOL checks to save run-time if, for
101-
example, you are just checking the routing and you know your standard cells
102-
pass DRC.
103-
104-
If you run DRC (Full), you wil get a window with the results like this:
105-
106-
![DRC Marker Browser with no errors](klayout/klayout-marker-browser.png)
107-
108-
which has the DRC errors (if any) categorized by the cell, type, etc. The
109-
inverter should pass DRC with no errors.
110-
111-
If you load the "sky130_fd_sc_hd__inv_1-errors.gds" file, and run DRC, you should
112-
see the following errors (after expanding the tabs):
113-
114-
![DRC Marker Browser with errors](klayout/klayout-marker-browser-errors.png)
115-
116-
If you click on a given error, it will open an explanation as well as highlight
117-
the related error in the layout with a thin black line.
118-
119-
Detailed explanations of the DRC errors can be found in the Sky130 documentation:
120-
[https://skywater-pdk.readthedocs.io/en/main/rules.html](https://skywater-pdk.readthedocs.io/en/main/rules.html)
121-
We highlighted the poly rule and can go to the "poly" section to see the details:
122-
123-
![Poly design rules](klayout/klayout-poly-designrules.png)
124-
125-
Specifically, poly.7 specifies the "Extension of diffusion beyond poly" and poly.8 specifies the "Extension of poly beyond diffusion".
126-
If you look closely at the examples, there is an example of poly.7 and poly.8 with measurement markers:
127-
128-
![Poly.7 and poly.8 examples](klayout/klayout-poly7-poly8.png)
129-
130-
In the example, there are also licon.1 and licon.5 errors which are available
131-
in the [licon
132-
section](https://skywater-pdk.readthedocs.io/en/main/rules/periphery.html#licon)
133-
of the design rules.
134-
135-
136-
137-
138-
139-
### Running LVS
140-
141-
Make sure to uncheck the "scale" option in the LVS dialog box. Sky130 uses an
142-
odd scale factor in the spice netlist of microns instead of meters. If you
143-
don't uncheck this, the transistor sizes won't match and your LVS will fail.
144-
90+
The [Edit](klayout-edit.md) tutorial has some useful instructions for editing shapes in the layout.
14591

14692
## Closing crash
14793

0 commit comments

Comments
 (0)