Remaining assumptions that the top chip always has a block (3DBlox)
I maintainer di solito rispondono entro 1 giorno
@osamahammad21 ci sta già lavorando.
Dal 28/9/2026.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start with src/odb/src/db/dbModITerm.cpp:106 and the read_db path, then trace the listed Design.cc, OpenRoad.cc, ODB, CTS, STA, DFT, fill, and web entry points. Compare each chip-only or chip-to-block check against the HIER-top case described in the issue. Done means all listed assumptions are addressed, including misleading design-loaded messages, without leaving the tracked crash or wrong-design paths.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
With 3DBlox the top chip (db->getChip()) can be a HIER chip with no block. A lot of code still treats "chip exists" as "block exists", or uses chip && chip->getBlock() as the "design loaded" test. The read_db guard (ORD-47) was one case. This issue tracks the rest.
Crash or wrong design during load/link
-
src/odb/src/db/dbModITerm.cpp:106: the stream-in usesdb->getChip()->getBlock()->modinst_tbl_. This crashesread_dbwhen a chiplet block has hierarchy. It should use the owning block, not the top chip's block. -
src/Design.cc:51: thereadVerilogguard (ORD-36) only checkschip->getBlock(), so it passes with a HIER top.Verilog2db::makeBlock(dbReadVerilog.cc:237) then creates a flat block under the HIER top.makeUnusedBlock(:1172) uses a nulltop_block_. -
read_defwithout-chip(src/OpenRoad.tcl:85,src/Design.cc:74,src/odb/src/swig/common/swig_common.cpp:51) passes the HIER top to defin. ODB-251 doesn't reject it, so a block gets created under the top chip. If the DEF read fails,definReader.cpp:1873destroys the top chip. The ORD-48 check atOpenRoad.cc:376has the same assumption. -
src/odb/src/db/dbDatabase.cpp:842removeUnusedMasters: no null check. It also removes masters that are only used in chiplets. -
src/odb/src/db/dbMPin.cpp:140,154getPinAccess/clearPinAccess: these takeap_tbl_from the top chip's block.
Chip-only check, then block used
-
src/OpenRoad.cc:671getCore(ord::get_db_core, used byfinale.tcl) -
src/OpenRoad.i:db_layer_has_tracks,report_hpwl,report_each_net_hpwl -
src/OpenRoad.cc:425,512writeDef/writeCdl: return silently when there's no block.writeAbstractLeferrors instead (ORD-53). -
src/OpenRoad.cc:555-565write3Dbv/write3Dbx: no null-chip check -
src/odb/src/swig/tcl/odb.tcl: about 16 procs check$chip == "NULL"and then call[$chip getBlock]methods (physical cluster/voltage domain procs,set_min_layer/set_max_layer,write_guides,write_macro_placement,design_is_routed, whichResizer.tcl:373uses as a gate) - cts:
TritonCTS.tcl:186checks only the chip.TritonCTS.cpp:93,645andTechChar.cpp:475use the block unguarded. -
src/dbSta/src/dbSta.cc:717,743,1082anddbSta.i:222db_network_defined - dft (
ScanReplace.cpp:341,452,ScanCellFactory.cpp:211,ScanStitch.cpp:41) andfin/src/DensityFill.cpp:529: these callchip->getBlock()without a null check. -
src/web/src/dbDescriptors.cpp:95,946and thevisitAllObjectsfunctions at:4875,4974,5076,5155,5257,5334,5412
Misleading message only
- The
[ord::get_db_block] == "NULL"checks in dpl/gpl/grt/pdn/tap/mpl/etc. do fire, but they report "design not loaded" even though a 3D design is loaded.
- Lingua principale
- Verilog
- Stelle
- 3.4k
- Fork
- 1.1k
- Merge medio
- 3g 11h
- PR unite (30g)
- 245
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di The-OpenROAD-Project/OpenROAD
-
odb LEF58_MINIMUMCUT: per-cut-class form never sets isPerCutClass, so drt silently drops the ruleForse già presa @LucasYuki l’ha presa 26 giorni fa. Apertabug drt odb
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
The-OpenROAD-Project/OpenROAD#12176 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
drt: LEF58_SPACING ENDOFLINE MINLENGTH l TWOSIDES is checked one-sided (io passes the TWOEDGES flag as TWOSIDES)Forse già presa @osamahammad21 l’ha presa 26 giorni fa. Apertabug drt
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
The-OpenROAD-Project/OpenROAD#12173 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
cleanup-opportunity: BUILD files never refer to mockturtle in third-partty/Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertabazel enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
The-OpenROAD-Project/OpenROAD#12160 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
odb: Bazel build fails on linux/aarch64 — char fc compared to EOF in def/lef lexersForse già presa @shivarammysore l’ha presa 32 giorni fa. Apertabazel bug odb
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
The-OpenROAD-Project/OpenROAD#12095 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
syn: acd_resynth -apply segfaults on a database resynthesized in an earlier processForse di nuovo libera @povik l’ha presa 31 giorni fa e non c’è nessuna pull request aperta. Apertabug syn
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
The-OpenROAD-Project/OpenROAD#12046 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di The-OpenROAD-Project/OpenROAD
Issue simili
-
v3
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
pluginkollektiv/antispam-bee#952 ·
I maintainer di solito rispondono entro 1 giorno
-
area: middleware enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
config: reject Proxy-Authorization and Proxy-Authenticate in server headersForse già presa @haseemajaz l’ha presa oggi. Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
rohitgollarahalli/mcpx#38 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area: API good first issue size/xs
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
DahanItamar/DockNest#354 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100