flag_missing_ports flags all internal nets for source subcircuits with no ports

Abierto
#2,138 5 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
cpp, python
Área
tooling

Línea de trabajo

Start by reading the flag_missing_ports implementation and its flag_missing_port helper, then run the IHP-Open-PDK regression command from the issue. Focus on the case where the source SPICE top cell has no ports. Done means that case no longer reports internal nets as ports or produces the resulting mismatch.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

question

Requires at least klayout 0.30.2 (flag_missing_port helper routine).

@klayoutmatthias Thanks for the port check enhancement. That has helped find discrepancies in standard cell port labeling.

However, we noticed that when the source spice top cell has no ports, then all of the internal nets are considered ports and cause a mismatch.

Image

You can verify this with the IHP-Open-PDK repo test cases.

git clone https://github.com/H-Ojiro/IHP-Open-PDK.git --depth=1 -b port_check
cd IHP-Open-PDK/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing
python3 run_regression.py RES

Here's the spice

.SUBCKT rppd
Rp1 net1 net2 rppd m=1 l=0.5u w=0.5u
Rp2 net3 net4 rppd m=1 l=1u w=0.5u
Rp3 net5 net6 rppd m=1 l=1.2u w=0.7u
Rp4 net7 net8 rppd m=1 l=1.5u w=0.5u ps=0.2u b=1
Rp5 net9 net10 rppd m=1 l=1.7u w=0.5u ps=0.2u b=2
...

The layout has no text.

CC: @H-Ojiro

Lenguaje dominante
C++
Estrellas
1.2k
Forks
305
Merge medio
3 d 2 h
PR fusionados (30 d)
11

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de KLayout/klayout

Todos los issues de KLayout/klayout

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.