Add cell names after importing .spice file

Open
#2,421 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
cpp
Domain
desktop

Research direction

The issue describes adding cell names when importing a .spice file and points to a patched import macro in the attached ZIP. Start by reviewing that macro and locating the existing SPICE/netlist import path in the KLayout sources. Verify how the imported cells appear in the Cells pane and confirm the proposed layer-1000/0 labels do not affect LVS; done means imported cells have navigable names without changing LVS behavior.

Written by the indexing model from the issue text.

Description

question

This would be nice to have - adding cell names after importing .spice file. Cells are wrapped into 1000/0 layer - should be no affect to LVS. Also it is more simple to navigate at Cells menu pane. Here are some screenshots and related code:

Image

Press "+":

Image

Press "+":

Image

Cells pane:

Image

Added new macro in menu - "SG13G2 PDK" -> "Import netlist (patched)".

ihp_import_netlist_patched_cell_names.zip

Dominant language
C++
Stars
1.2k
Forks
305
Avg merge
3d 2h
Merged PRs (30d)
11

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from KLayout/klayout

All issues in KLayout/klayout

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.