UNPKG

cirsim

Version:

Cirsim Circuit Simulator

12 lines (11 loc) 567 B
<p>The output of an exclusive-or (XOR) gate is <em>true</em> if one input is true and the other is false. Otherwise, it is false. The XOR gate output is true if the inputs are different from each other.</p> <figure><img src="img/xor.png" width="250" height="244" alt="OR Gate"></figure> <h3>Truth Table</h3> <table class="truth-table"> <tr><th>A</th><th>B</th><th>O</th></tr> <tr><td>0</td><td>0</td><td>0</td></tr> <tr><td>0</td><td>1</td><td>1</td></tr> <tr><td>1</td><td>0</td><td>1</td></tr> <tr><td>1</td><td>1</td> <td>0</td></tr> </table>