Pad Cell Generator: Difference between revisions
| Line 29: | Line 29: | ||
== How to use == | == How to use == | ||
The Pad Cell Generator is part of LibrePDK<syntaxhighlight lang="bash"> | The Pad Cell Generator is part of [[LibrePDK]]<syntaxhighlight lang="bash"> | ||
#!/bin/bash | #!/bin/bash | ||
TECH=SG13G2 | TECH=SG13G2 | ||
Revision as of 23:51, 25 May 2026
The LibreSilicon Pad Cell Generator is an extension of the LibrePDK which besides the driver logic also dynamically generates the mixed signal parts needed for over current and static discharge protection and providing the currents needed for doing useful things with an actual physical chip, like driving an LED or a small motor.

Existing Groundwork
The generator is based on the work of several folks who started developing puzzle pieces for it before Google ran out of funding internally and the project had to go on hiatus
Here's some works our generator will be based on:
- Gowthami Nalla did some work with the logic circuit and the driver but it's specific to XFAB only; https://github.com/gowthaminalla/bidirectional-buffer/
- Very rudimentary development has been done on the ESD front: https://github.com/AishikAnalogCKTdesign/ESD
- Philip's pad frame generator (Perl): https://www2.futureware.at/~philipp/vsd2018/
- Philip's very basic Perl based pad cell generator (https://pdk.libresilicon.com/PadCellGenerator.zip)
- Perl based
- Not portable
- Needs smarter ESD protection
- Needs smarter IO config
- Doesn't have termination resistor configuration (needed for DDR3/DDR4 PHYs)
- Not even yet half finished
Configuration
The Pad Cell Generator has the task of generating a Pad Cell for generating a pad frame for taping out a circuit with any given set of design rules for any given process.
Just as with the Standard Cell Generator, you need to provide the Pad Cell Generator the appropriate configuration telling it about all the design constraints and mixed signal characteristics of the process you are targeting.
Please look at our reference technology folders like the design rule constraints and parameters, for which we introduced a somewhat standardized format with the advent of our Danube River test wafer generator.
https://github.com/thesourcerer8/StdCellLib/tree/master/Tech.GF180MCU
How to use
The Pad Cell Generator is part of LibrePDK
#!/bin/bash
TECH=SG13G2
VOLTAGE=1.2
mkdir -p ihp_pads
pushd ihp_pads
uv run librepdk_padcell_generator -t $TECH -v $VOLTAGE -i 20,30,40,60
popd