作者eorlthexiv (伊欧)
看板EE_DSnP
标题Re: [问题] ref program
时间Fri May 29 00:22:55 2009
※引述《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)