Skip to main content

Gates

CircuitVerse features the following gates in the circuit elements library:

Properties that can be customized in the PROPERTIES panel include: Bit Width, Input Size, Direction

TIP: Direction of any gate can be changed within the CircuitVerse simulator by either using the up, down, right, left arrow keys or by changing the Direction property parameter in the PROPERTIES panel.

Each of the gates included in the CircuitVerse library can be customized for multiple input size and multiple bitwidth. Users can create:

  • Multi-input gate by changing the Input Size property parameter in the PROPERTIES panel. You can verify the behavior of a multi-input AND gate in the live circuit embedded below:
  • Multi-bitwidth AND gate by changing the BitWidth property parameter in the PROPERTIES panel. You can verify the behavior of a multi-bitwidth AND gate in the live circuit embedded below:

AND Gate

AND gate gives a HIGH output only if all input values are HIGH. Refer Table 4.25.

Table 2.5: Two-input AND gate truth table

Input 1Input 2Output
000
010
100
111

You can verify the behavior of the AND gate circuit element in the live circuit of a two-input AND gate embedded below:

OR Gate

OR gate produces a HIGH output only if any of the input values are HIGH. Refer Table 4.26.

Table 2.6: Two-input OR gate truth table

Input 1Input 2Output
000
011
101
111

You can verify the behavior of an OR gate circuit element in the live circuit embedded below:

NOT Gate

NOT gate inverts the input as an output. It is also known as an inverter. Refer Table 4.27.

Table 4.27: NOT gate truth table

InputOutput
01
10

You can verify the behavior of an NOT gate circuit element in the live circuit embedded below:

XOR Gate

XOR gate produces a HIGH output only if both inputs aren't the same. Refer Table 4.28.

Table 4.28: Two-input XOR gate truth table

Input 1Input 2Output
000
011
101
110

You can verify the behavior of an XOR gate circuit element in the live circuit embedded below:

NAND Gate

NAND gate, a combination of an AND gate and a NOT gate connected together in series, produces the inverted output of an AND gate––produces a LOW output when all the inputs are HIGH. Refer Table 4.29.

Table 4.29: Two-input NAND gate truth table

Input 1Input 2Output
001
011
101
110

You can verify the behavior of an NAND gate circuit element in the live circuit embedded below:

NOR Gate

NOR gate inverts the output of an OR gate. In other words, it only goes HIGH when all the inputs are LOW. Refer Table 4.30.

Table 4.30: Two-input NOR gate truth table

Input 1Input 2Output
001
010
100
110

You can verify the behavior of an NOR gate circuit element in the live circuit embedded below:

XNOR Gate

XNOR gate inverts the output of an XOR gate––it only goes HIGH if both the inputs are the same. Refer Table 4.31.

Table 4.31: Two-input XNOR gate truth table

Input 1Input 2Output
001
010
100
111

You can verify the behavior of an XNOR gate circuit element in the live circuit embedded below: