Fundamental Gates...
Use a 3-to-8 DECODER (and an OR gate) to implement the following
function: š¹ = āš(1,2,3,5,7).
This is a half adder.
This is a subtractor.
This is the OR gate withĀ its truth table.Ā It has 2 inputs (A, B) and 1 output (Out).
The 2 inputs (A, B) can be 0 or 1, and the users can change (0 to 1 or 1 to 0) the value, with a click on each small box of each input.
The output (Out) has connected a red led to signal if the output is 1 or 0 (1 is red led, 0 is led without color).
Basic logic gates are