diff --git a/docs/chapter4/8misc.md b/docs/chapter4/8misc.md index 9cceda42..d8bc7cfa 100644 --- a/docs/chapter4/8misc.md +++ b/docs/chapter4/8misc.md @@ -9,13 +9,14 @@ description: "Misc page in Chapter4 of CircuitVerse documentation." 1. [ALU](#alu) 2. [Adder](#adder) 3. [Buffer](#buffer) -4. [TriState Buffer](#tristate-buffer) -5. [Tunnel](#tunnel) -6. [Splitter](#splitter) -7. [Equal Split](#equal-split) -8. [Unequal Split](#unequal-split) -9. [Flag](#flag) -10. [Two's Complement](#twos-complement) +4. [Controlled Inverter](#controlled-inverter) +5. [TriState Buffer](#tristate-buffer) +6. [Tunnel](#tunnel) +7. [Splitter](#splitter) +8. [Equal Split](#equal-split) +9. [Unequal Split](#unequal-split) +10. [Flag](#flag) +11. [Two's Complement](#twos-complement) ## ALU @@ -315,6 +316,57 @@ You can verify the behavior of the **Buffer** circuit element in the live circui {" "} +## Controlled Inverter + +The **Controlled Inverter** circuit element is a controlled gate that inverts the input signal when enabled. As illustrated in the circuit, this element includes an **Enable** input that controls whether the input is inverted at the output or the output is disconnected from the circuit. + +- If the **Enable** input signal is HIGH, the controlled inverter gate inverts the input signal (behaves like a NOT gate). +- If the **Enable** input signal is LOW, the controlled inverter gate passes a high impedance signal which effectively disconnects its output from the circuit. + +If required, a user can change the orientation of the circuit element using the arrow keys on the keyboard or editing the value of the **Direction** attribute available in the **PROPERTIES** panel for the **Controlled Inverter** circuit element. + +> Properties that can be customized in the **PROPERTIES** panel include: **Direction, BitWidth** + +Table 4.24: Truth table for a Controlled Inverter gate + +
| + Enable + | ++ Input + | ++ Output + | +
| 0 | +0 | +Z | +
| 0 | +1 | +Z | +
| 1 | +0 | +1 | +
| 1 | +1 | +0 | +