Pad Cell Generator: Difference between revisions

From LibreSilicon
Jump to navigation Jump to search
No edit summary
Line 28: Line 28:
https://github.com/thesourcerer8/StdCellLib/tree/master/Tech.GF180MCU
https://github.com/thesourcerer8/StdCellLib/tree/master/Tech.GF180MCU


== How to use (WIP) ==
== How to use ==
First clone the repository
The Pad Cell Generator is part of LibrePDK<syntaxhighlight lang="bash">
 
#!/bin/bash
git clone https://gitlab.libresilicon.com/leviathan/PadCellGenerator.git
TECH=SG13G2
cd PadCellGenerator
VOLTAGE=1.2
 
mkdir -p ihp_pads
Then you fetch the Dockerimage with all the LibreSilicon tools preinstalled, just as with DanubeRiver and the Standard Logic Cell generator library:
pushd ihp_pads
 
uv run librepdk_padcell_generator -t $TECH -v $VOLTAGE -i 20,30,40,60
docker pull leviathanch/libresilicon-tools:latest
popd
 
</syntaxhighlight>
Then you've got to start the Docker container and build the pad cells for your specific process
 
xhost +local:docker
docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v `pwd`:/work -it leviathanch/libresilicon-tools
Or respectively just
./start_docker.sh
<blockquote>'''Notice''': This is work in progress. This Wiki page is about to change a lot and gain much more content soon... hopefully
 
 
'''Notice''': NLNet approved the grant. On it (https://nlnet.nl/project/LibreSilicon-PadCellGen/)</blockquote>After that there's some make commands telling my Python scripts, which I haven't pushed yet, what to do, as soon as they can actually do it...
 
For now it's just Perl scripts and some loose Magic files

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.

First Version of a Padframe of IHP's SG13G2 generated by LibrePDK (Still needs some work)

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:

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