The circuit consists of logic gates, universal gates, and extra gates along with their truth tables. The circuit provides input to the gates in the form of 0/1 and gives an output based on the gate.
The gates used are: