看板 EE_DSnP 關於我們 聯絡資訊
※引述《ric2k1 (Ric)》之銘言: : Sorry, ref program is being updated. : ※ 引述《Ultor (m(_ _)m)》之銘言: : : 剛剛測試的結果 : : 測 C17-err1.cir : : ref program 好像沒有 report : : Line 10: Undefined gate "KK" in the circuit!! : 已補上. : : Line 13: Undefined gate "8GAT" in the circuit!! : 這個不用, 因為 16GAT 是 redefined, 所以這行本身就 illegal... 但是如果按照相同的邏輯,Line 10不是本身也illegal嗎,何必再去管KK是什麼... 另外error message會說第12行有Missing input for AND gate 第13行16GAT redefined而且也有Missing input for AND gate 同樣按照這個邏輯,第13行本身就illegal了,還去說他有Missing input感覺怪怪的... 另外假如我在C17-err1.cir的第10行下面多寫一行,變成: 10| inv 11GAT_B 11GAT KK 11| QQ 這樣的error message會說第11行有Extra input,但是就不說第10行有Extra input了 這樣似乎不太直觀 所以...我可以用自己想要的方式寫嗎... 順便問一下,xor可以有超過兩個input? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.137.67.179 ※ 編輯: eorlthexiv 來自: 220.137.67.179 (05/29 01:21)