`write_sdf` record order causes a conditional IOPATH delay to be overwritten
Los mantenedores suelen responder en 1 día
@Shubham-Gotawade ya está trabajando en esto.
Desde el 3/12/2026.
- #509 de @Shubham-Gotawade — abierto
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
The SDF writer lives in the OpenSTA source under the SDF-writing class (look for write_sdf and the code that emits IOPATH/COND records); start by unpacking opensta-mux-iopath.tar.gz and running sta -exit run.tcl to reproduce, then read how absolute arc records for a pin are ordered before they are printed. The fix is to emit an unconditional record before overlapping conditional records for the same pin pair, and to add a regression covering the sg13g2_mux2_1 case so the two conditional modes still match Liberty.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
On the IHP sg13g2_mux2_1, write_sdf emits an unconditional S → X record after the conditional record for A0=1, A1=0. With the generated SDF, both output transitions in that mode arrive 40 ps early.
Original output. OpenSTA 3.2.0 (39f9dec68a) wrote these three ABSOLUTE entries in this order (ns).
(COND A0 == 1'b1 && A1 == 1'b0
(IOPATH S X (0.218212::0.218212) (0.237999::0.237999)))
(IOPATH S X (0.183287::0.183287) (0.204822::0.204822))
(COND A0 == 1'b0 && A1 == 1'b1
(IOPATH S X (0.183287::0.183287) (0.204822::0.204822)))
The middle entry overwrites all matching S → X paths. The last entry updates only A0=0, A1=1. The values below were measured at the output pin in Icarus (3f05f92b0) at the model's 10 ps precision.
| A0=1, A1=0 | Expected from the conditional arc | Measured at X |
|---|---|---|
| S rises, X falls | 240 ps | 200 ps |
| S falls, X rises | 220 ps | 180 ps |
Order-only diagnostic. In a copy of the SDF, I moved the unconditional entry before both conditional entries, keeping every value unchanged. The same instance then delivered 240 ps and 220 ps on those transitions. All four pin delays across the two modes matched Liberty.
Reproduce. Extract opensta-mux-iopath.tar.gz, enter opensta-mux-iopath/, and run sta -exit run.tcl. The archive includes the one-cell netlist, the IHP v0.4.0 TT Liberty, and an optional Icarus pin test.
Could write_sdf emit the unconditional entry first when it overlaps conditional entries for the same pins?
- Lenguaje dominante
- Verilog
- Estrellas
- 655
- Forks
- 296
- Merge medio
- 1 d 12 h
- PR fusionados (30 d)
- 28
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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de The-OpenROAD-Project/OpenSTA
-
with_output_to_variable runs its commands outside the caller's scope and hides errorsPosiblemente ocupada @dsengupta0628 la tomó hace 25 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
The-OpenROAD-Project/OpenSTA#458 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
get_fanin/get_fanout drop pins of nets with more than one pinPosiblemente ocupada @dsengupta0628 la tomó hace 25 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
The-OpenROAD-Project/OpenSTA#457 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
get_timing_edges -of_objects returns nested lists and ignores -toPosiblemente ocupada @dsengupta0628 la tomó hace 25 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
The-OpenROAD-Project/OpenSTA#456 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
The-OpenROAD-Project/OpenSTA#477 ·
Los mantenedores suelen responder en 1 día
-
CRPR: paths, memory and runtime grow faster than the design on large propagated clock networksPosiblemente ocupada @dsengupta0628 la tomó hace 25 días. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 22/100
The-OpenROAD-Project/OpenSTA#452 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de The-OpenROAD-Project/OpenSTA
Issues similares
-
XML grammar: only the closing --> of a comment gets the scope comment.block.xmlPosiblemente ocupada @alexeyfala la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
danipen/TextMateSharp#145 · 2 comentarios ·
-
accepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
future-agi/future-agi#6368 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
omacom/omarchy#21787 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Windows 内置更新报“更新进程启动确认超时”:Explorer ShellExecute 冗余的 -WindowStyle Hidden + -EncodedCommand 触发卡巴斯基挂起Abiertobug status/needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
WhiteBr1ck/agy-powertools#397 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
leanprover/vscode-lean4#841 ·
Los mantenedores suelen responder en 2 días