get_timing_edges -of_objects returns nested lists and ignores -to
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 83/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Área
- backend-api-design
Línea de trabajo
Lee tcl/Sta.tcl, especialmente get_timing_arcs_objects y get_timing_edges_cmd, y luego ejecuta la reproducción desde graph/test con sta -no_init -exit repro.tcl. El issue identifica como causas las adiciones de listas anidadas y una comprobación duplicada de -from. Se considera terminado cuando los resultados son aristas planas, -to con -of_objects genera el error 540 y los recuentos golden afectados reflejan los resultados corregidos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
get_timing_edges -of_objects returns one list element per instance instead of a flat list of edges. Each element holds all of that instance's edges as a nested Tcl list, so the result can't be passed to get_property, set_disable_timing or -filter, even though the command help says it can. Separately, the -to option is silently ignored when it is combined with -of_objects.
Repro
Run from graph/test with sta -no_init -exit repro.tcl:
read_liberty ../../test/nangate45/Nangate45_typ.lib
read_verilog graph_test1.v
link_design graph_test1
set edges [get_timing_edges -of_objects [get_cells reg1]]
puts [llength $edges]
get_property [lindex $edges 0] from_pin
set_disable_timing $edges
get_timing_edges -of_objects [get_cells reg1] -to [get_pins reg1/Q]
reg1 is a DFF_X1 with five non-wire edges (CK->Q, CK->QN, the width check, setup and hold). The output is:
1
Error 2201: ... get_property -object_type must be specified with object name argument.
set_disable_timing $edges warns object '{_..._p_Edge _..._p_Edge ...}' not found. and disables nothing. With -of_objects and -to together, the command returns the edges instead of raising error 540, "-from/-to arguments not supported with -of_objects."
The existing goldens record the wrong counts. For example, graph/test/graph_timing_edges.ok has reg1 timing edges count: 1, and graph_delete_modify.ok reports one edge for every cell, including the two-input gates.
parallaxsw/OpenSTA master has the same code.
Cause
In tcl/Sta.tcl:
get_timing_arcs_objectsbuilds its result withlappend edges [instance_edges $inst], which appends the whole list as a single element. The lib cell branch does the same withlappend arc_sets [$libcell timing_arc_sets].get_timing_edges_cmdchecks[info exists keys(-from)] || [info exists keys(-from)], testing-fromtwice and never-to.
- Lenguaje dominante
- Verilog
- Estrellas
- 658
- Forks
- 299
- 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
-
`write_sdf` record order causes a conditional IOPATH delay to be overwrittenPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
The-OpenROAD-Project/OpenSTA#495 ·
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
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ranxianglei/billion-context#8319 ·
Los mantenedores suelen responder en 1 día
-
backend bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
nolte/kamerplanter#3193 ·
Los mantenedores suelen responder en 1 día
-
bug documentation queries
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ClickHouse/clickhouse-cs#815 ·
Los mantenedores suelen responder en 1 día
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día