get_fanin/get_fanout drop pins of nets with more than one pin
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 領域
- backend
調査の方向性
tcl/Sta.tclから始めて、get_faninとget_fanoutのピン収集ロジックを調べてください。特に、netのピンを追加する箇所を確認してください。graph/test/graph_test2.vとissue内のTclコマンドを使って、欠落するピンを再現してください。また、引数なしのget_fanoutのエラーも確認してください。探索にすべてのnetピンが含まれ、-fromがない場合に使用方法のメッセージが表示されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
get_fanout -from and get_fanin -to drop pins when a net in the argument list connects to more than one pin. The net's pins are added to the pin list as one nested Tcl list. When that list is converted to a PinSeq, only one of those pins survives, so the traversal starts from too few pins.
Repro
Uses graph/test/graph_test2.v, where net n4 drives both reg1/D and or1/A2. Run from graph/test:
read_liberty ../../test/nangate45/Nangate45_typ.lib
read_verilog graph_test2.v
link_design graph_test2
proc names { objs } {
set r {}
foreach o $objs { lappend r [get_full_name $o] }
return [lsort $r]
}
puts [names [get_fanout -from [get_nets n4] -flat -endpoints_only]]
puts [names [get_fanout -from [get_pins {reg1/D or1/A2}] -flat -endpoints_only]]
Output:
reg2/D
reg1/D reg2/D
The net form misses reg1/D, which n4 drives directly. get_fanin -to with a net loses pins in the same way. On graph_test1, get_fanin -to [get_nets n1] returns 2 pins instead of 3.
Also, get_fanout with no -from fails with the Tcl error can't read "keys(-from)": no such variable instead of the usage message. get_fanin already checks for a missing -to.
parallaxsw/OpenSTA master has the same code.
Cause
In tcl/Sta.tcl, get_fanin does lappend pins $net_pins and get_fanout does lappend pins [net_load_pins $net]. Both append the net's whole pin list as one element instead of appending its pins.
- 主要言語
- Verilog
- スター
- 658
- フォーク
- 299
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 28
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
The-OpenROAD-Project/OpenSTA のほかの issue
-
with_output_to_variable runs its commands outside the caller's scope and hides errors対応中かも @dsengupta0628 が 25 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
The-OpenROAD-Project/OpenSTA#458 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
get_timing_edges -of_objects returns nested lists and ignores -to対応中かも @dsengupta0628 が 25 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
The-OpenROAD-Project/OpenSTA#456 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
`write_sdf` record order causes a conditional IOPATH delay to be overwritten対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
The-OpenROAD-Project/OpenSTA#495 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
The-OpenROAD-Project/OpenSTA#477 ·
メンテナーはふだん 1 日以内に返信
-
CRPR: paths, memory and runtime grow faster than the design on large propagated clock networks対応中かも @dsengupta0628 が 25 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 22/100
The-OpenROAD-Project/OpenSTA#452 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
The-OpenROAD-Project/OpenSTA の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ranxianglei/billion-context#8319 ·
メンテナーはふだん 1 日以内に返信
-
backend bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
nolte/kamerplanter#3193 ·
メンテナーはふだん 1 日以内に返信
-
bug documentation queries
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ClickHouse/clickhouse-cs#815 ·
メンテナーはふだん 1 日以内に返信
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信