Skip to content

feat: Integrate IHP SG13G2 PDK Support into eSim#454

Open
RukadeAkshay01 wants to merge 3 commits intoFOSSEE:masterfrom
RukadeAkshay01:ihp_integration
Open

feat: Integrate IHP SG13G2 PDK Support into eSim#454
RukadeAkshay01 wants to merge 3 commits intoFOSSEE:masterfrom
RukadeAkshay01:ihp_integration

Conversation

@RukadeAkshay01
Copy link

@RukadeAkshay01 RukadeAkshay01 commented Feb 11, 2026

https://drive.google.com/file/d/1e_qAuCw3h7n28HM5I3XfKxsic_hOg-Yg/view?usp=sharing (eSim end-to-end working Zip link)

Description

This Pull Request introduces full support for the IHP SG13G2 Open Source 130 nm PDK within eSim.
It enables users to design schematics using IHP components, configure device parameters (W, L, nf, process corners), and simulate them correctly with Ngspice.


Related Issues

  • N/A

Purpose

To expand eSim’s capabilities by integrating the IHP SG13G2 process node, allowing open-source silicon design and simulation using this technology.
This aligns with eSim’s broader goal of supporting open-source PDKs such as SKY130.


Approach

1. Source Code Updates (src/)

  • DeviceModel.py

    • Added logic to detect IHP components (ihp prefix or sg13 models).
    • Launches a dedicated UI configuration window for:
      • Process corner selection (e.g., mos_tt, res_typ)
      • Device parameter setup (W, L, nf, etc.)
  • Convert.py

    • Updated netlist conversion logic to support IHP devices.
    • Converts ihp prefixes to xihp for subcircuit compatibility.
    • Automatically injects the required .lib include statements for the selected process corners.
  • KicadtoNgspice.py

    • Patched to correctly extract QComboBox text during XML generation.
    • Fixes a crash when reading device model parameters.
  • Processing.py

    • Modified logic to prevent IHP components from being treated as standard voltage or current sources during parameter insertion.

2. Library Additions (library/)

  • eSim_IHP.kicad_sym

    • New symbol library containing IHP SG13G2 primitives:
      • MOSFETs
      • Resistors
      • Capacitors
      • Other basic devices
  • sym-lib-table (updated)

    • Registers the eSim_IHP library so it is automatically available in the eSim schematic editor.

3. Scripts (ihp/)

  • ihp-install-script.sh
    • Helper script to assist users in setting up:
      • IHP PDK environment variables
      • Required dependencies (if not already configured)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments