作者ric2k1 (Ric)
看板EE_DSnP
標題Re: [問題] 關於cirCmd.cpp
時間Fri Dec 24 21:53:42 2010
Fixed!
受影響檔案:
1. cirCmd.cpp <== 你們直接 copy over 就好了!
2. cirGate.h, cirGate.cpp <== 新增加了一個 CirAigGate::reportGate() function
Merry Christmas!!
※ 引述《ckmarkoh (阿傑)》之銘言:
: 1.spec裡面寫的CIRSimulate是
: Usage: CIRSimulate <-Random | -File <string patternFile>>
: [-Output (string logFile)]
: 可是我輸入hel cirsim所顯示出來的是...
: Usage: CIRSIMulate [-Summary | -Netlist]
: 我看code裡面要parse的是按照第一種寫法
: 但是我不管怎麼輸入都會顯示以下error:
: fraig> cirsim -f txt1 -o txt2
: Missing option after (txt2)!!
: fraig> cirsim -f txt1 -o txt2 txt3
: Missing option after (txt3)!!
: fraig> cirsim -f txt1 -o txt2 txt3 txt4
: Missing option after (txt4)!!
: 不管我打幾個 Error一直是missing option
: 好像有個bug在code裡面...
: 2.在 CIRGate <<(int gateId)> [<-FANIn | -FANOut><(int level)>]>
: 照spec上面所寫 應該會有三種情況
: Report the gates in the circuit. If the option “-FANIn” or “-FANOut” is
: NOT specified, print out the gate information such as ID, name (for PI..
: 可是cirCmd.cpp裡面
: if (doFanin)
: thisGate->reportFanin(level);
: else
: thisGate->reportFanout(level);
: 只有這兩種
: 如果沒有-fanin就都會去執行reportFanout
: 例如:
: fraig> cirg 1
: PI 1
: .....
: 所以是要自己去修改這部分 處理沒有fanin和fanout的狀況?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.36.56.80
推 scuendless:話說我的電腦裡頭myUsage要include string.h才能make 12/25 00:18
→ scuendless:不知道大家的是不是也是這樣~ 12/25 00:18
推 tomap41017:樓上...大概老師又忘記include了 建議<cstring> 12/25 02:10
推 johnjohnlin:話說 edaunion 的機器好像都會自動 include cstring 12/25 21:51
→ johnjohnlin:cstdlib,之前修演算法好像也是 12/25 21:51