🧪 Logic Gate Simulator
Toggle inputs on AND, OR, NOT and XOR gates to see the live output level and boolean expression, and chain gates to explore combinational logic.
📐 計算公式 / 原理
AND: Y = A·B OR: Y = A+B NOT: Y = Ā XOR: Y = A⊕B
按布林代數真值表逐門求值:AND 全 1 才輸出 1、OR 有 1 即輸出 1、NOT 取反、XOR 相異輸出 1;多級電路按拓撲順序依次傳播訊號。
輸入 A
0
輸入 B
0
→
輸出 Q
0
A AND B = 0
📊 真值表
📚 邏輯閘速查
🔗 多門組合(進階)
點選下方按鈕串聯多個邏輯閘,觀察組合輸出。點選已新增的門可移除。
A=0
B=0