作者ric2k1 (Ric)
看板EE_DSnP
標題Re: [問題] report gate
時間Sat Dec 10 18:13:33 2011
※ 引述《e124553423 (C.C.Yang.)》之銘言:
: 講義中
: If a gate whose fanin(s)/fanout(s) have been
: reported in previous lines, put a “(*)” after it is printed.
: 如果一個gate對於另一個gate的level不只一種時,可能就會少印
: 如考慮一個檔案
: aag 10 5 0 1 5
: 2
: 4
: 6
: 8
: 10
: 20
: 12 2 4
: 14 6 8
: 16 12 14
: 18 10 16
: 20 18 16
: cirg 10 -fanin 3 時
: gate 8 那邊會因為判斷fanin is printed而少一個level的fanin
: ref好像也有這個bug
這個不是 bug,這個是 feature。
ref 的輸出應該是:
AIG 10
AIG 9
PI 5
AIG 8
AIG 6
AIG 7
AIG 8 (*)
第二個 AIG 8 因為前面已經印過了,所以不用再印,這是避免無謂的重複列印。
這樣雖然後面那個 AIG 8 少印了一個 level,
但如果真的需要的話,使用者可以從 AIG 8 再開始 report。
這是個 trade-off,想想看如果今天電路很深 (level > 100),
那你 cirg 10 -fanin 100 會印出 AIG 8 底下 98 層的 fanins,
但這時另一個 path 又遇到 AIG 8,那你覺得要不要重複印 99 層的 fanins 呢?
: 我們需要處理嗎?
要的!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.248.106.76
1F:推 e124553423:了解~ 12/10 18:14