※ 引述《Jyou (徵跟我一樣窮的人)》之銘言:
: bdd> bsim 23GAT$PO 00011
: BDD Simulate: 00011 = 1
: bdd> bsim 23GAT$PO 0011
: Illegal pattern: (4)
: Illegal option!! (23GAT$PO)
: bdd> bsim 23GAT$PO 001
: Error: 001 too short!!
: Illegal option!! (23GAT$PO)
: 上述是老師reference program跑出來的結果
: 黃色那行應該顯示 Error: 0011 is too short!! 吧?
Uh... Ref prog 寫錯了... "<=" 寫成 "<"
順便改了一下 "Illegal option" 的 message...
上述的 commands 將會有以下的 output ---
bdd> bsim 23GAT$PO 00011
BDD Simulate: 00011 = 1
bdd> bsim 23GAT$PO 0011
Error: 0011 too short!!
Illegal option!! (0011)
bdd> bsim 23GAT$PO 001
Error: 001 too short!!
Illegal option!! (001)
(糗了, 在最後的時刻才發現 ref prog 的 bug...)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.221.91.113