看板 EE_DSnP 關於我們 聯絡資訊
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: 58.114.204.36 ※ 編輯: ckmarkoh 來自: 58.114.204.36 (12/24 20:56)
ric2k1:哦! 我改一下!! 12/24 21:28
ckmarkoh:謝謝 老師辛苦了! 12/24 21:39