Skip to main content

HAADIC

Highly-Automated Analog Designer for Integrated Circuits

This project is under development. Its goal is to create a technological and software-agnostic design flow, from device sizing to layout and implementation.

Dimensions in the layout can be changed by editing the dim variable. Post-simulation computation can be done by editing the evaluate function.

Design Flow

The following flow is run using the information given in a design.py python file (see tutorial). The flow has 2 entry points :

  • flow.run_from_dim : Only requires a dim variables which defines the value of each parameters of the layout function.
  • flow.run_from_target : Requires both a targetand an local_model function. The local_model is an implementation of the design methodology which output the layout parameters value required to obtains the target.

For batch execution, the method run_from_sweep can be used.

flowchart TD
    s1{Start #2}
    s2{Start #1}
    app["Physical Model
(design:local_model)"]
    pl["Parametric Layout
(klayout + design:layout)"]
    be_ext["RC extraction
(steps.extraction + Magic-VLSI)"]
    sim["Spice simulation
(steps.spice_sim + NGSpice)"]
    spec["Performances Evaluation
(design:post_processors)"]

    s1 -- "design:specifications" --> app
    s2 -- "design:dimensions" --> pl
    app --"dimensions (step.Dim)" --> pl
    pl --"geometries (.gds)" --> be_ext
    be_ext --"netlist (.cir)" --> sim
    sim --"raw simulation (step.SimRes)" --> spec
    spec --"performances (.csv)" --> st{stop}

When finished, a .gds file is available for further design and a .csv file with the performances of the design.

PDKs configuration

A techno.json file can be created in the working dir or the haadic root with the following structure:

{
"techno_name": {
  "base_dir": "path to the pdk directory root",
  "layermap": "path to the layermap (relative to the base_dir)",
  "techlef": "path to the tlef file",
  "magic_rc": "path to the configuration file of magic",
  "lib_spice": "path to the spice model library",
  "section": "name of the section to import in the spice library typical",
  "source_url": "url to be use for download (set to "ciel" for ciel installation)",
  "version": "version id (only required if source_url is set to "ciel")"
}
}

A techno.json file with three open source PDK and a mock PDK are already supplied.

For developers

Install haadic with optional group dev :

uv install git+https://github.com/Patarimi/haadic --with dev

Then run pytest in a shell

uvx run poe test

Metadata

Release files for haadic 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for haadic 0.7.0
File Size Uploaded Provenance Actions
haadic-0.7.0.tar.gz 61.5 kB With provenance Details for haadic-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for haadic 0.7.0
File Interpreter ABI Platform Actions
haadic-0.7.0-py3-none-any.whl Python 3 none any Details for haadic-0.7.0-py3-none-any.whl

Total release size: 142.9 kB

Release files / haadic-0.7.0.tar.gz

Download URL haadic-0.7.0.tar.gz
Size 61.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f8552b741a24b974e2bd74c6daa033e32ec12486d30dea4c1c568fd3bab907f5
BLAKE2b-256 checksum
How to use checksums
f4b1ebcc7ee75c805407df934387d5c56e3a390ba85bd7f2204f97e9f378d03a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / haadic-0.7.0-py3-none-any.whl

Download URL haadic-0.7.0-py3-none-any.whl
Size 81.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0272edc8492cdd3f3eb62e2b415e5aed3aadcd0d97f773dfc96fe94bf17010b1
BLAKE2b-256 checksum
How to use checksums
8381c21703cef4c7907bd51191b7d708ec189ba57e7bbd1df48756cd9b31b3f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Security for haadic 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for haadic-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page