🧪 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