Skip to content

Commit e73fb3c

Browse files
committed
docs: update usage/custom_pdk_builds
1 parent 3876562 commit e73fb3c

File tree

1 file changed

+9
-23
lines changed

1 file changed

+9
-23
lines changed
Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,31 @@
1-
# Custom-Building PDKs
2-
The pre-built version of the sky130 PDK variants included with OpenLane includes the following standard cell libraries:
1+
# Custom PDK Installations
2+
3+
The sky130 PDK variants pulled using `make pdk` include the following standard cell libraries:
4+
35
* sky130_fd_io
46
* sky130_fd_pr
57
* sky130_fd_sc_hd
68
* sky130_fd_sc_hvl
79
* sky130 sram modules
810

9-
If you need other libraries, you will have to resort to manual builds using [Volare](https://github.com/efabless/volare) as shown below. You will need Git 2.35+ and Docker.
10-
11-
Note that this will take a while, from 20 minutes to an hour depending on your internet speed and compute power.
11+
If you need other libraries (including the ReRAM library for `sky130B`), you will have to download them using [Volare](https://github.com/efabless/volare) as shown below.
1212

1313
Start a venv shell using `make start-build-env`. You should see a prompt looking kind of like this:
1414

1515
```bash
1616
(venv) [user@host openlane]$
1717
```
1818

19-
First of all, install volare:
20-
21-
```bash
22-
pip3 install --upgrade --no-cache-dir volare
23-
```
24-
25-
Then, build the PDK as follows: The `-l` options are the libraries you want to include. For example, to also include `sky130_fd_sc_hs`, you can add `-l sky130_fd_sc_hs` to the default set of libraries using the following command:
19+
Then, download the libraries as follows: The `-l` options are the libraries you want to include. For example, to download `sky130_fd_sc_hs`, you can add `-l sky130_fd_sc_hs` to your current set of libraries using the following command:
2620

2721
```bash
28-
volare build -j$(nproc) --pdk sky130 --clear-build-artifacts --sram -l sky130_fd_io -l sky130_fd_pr -l sky130_fd_sc_hvl -l sky130_fd_sc_hd -l sky130_fd_sc_hs
22+
volare enable --pdk sky130 -l sky130_fd_sc_hs
2923
```
3024

3125
You can also add `-l all` to just include all of them:
3226

3327
```bash
34-
volare build -j$(nproc) --pdk sky130 --clear-build-artifacts --sram -l all
35-
```
36-
37-
Either way, go grab a smoothie. This will take a while.
38-
39-
After it is done, you can then enable the resulting PDK as such:
40-
41-
```bash
42-
volare enable
28+
volare enable --pdk sky130 -l all
4329
```
4430

45-
Et voila, your custom-built PDK is ready.
31+
After it is done, your new SCLs are ready to use.

0 commit comments

Comments
 (0)