Figure 1 - Code for Inverter
Figure 2 - Inverter simulation
Figure 3 - Code for 2-bit FA
Figure 4 - Simulation for 2-bit FA
Figure 5 - Code for 4-1 MUX
Figure 6 - Simulation of 4-1 MUX
Figure 7 - Code for 8-input AND gate
Figure 8 - Sim for 8-input AND, going through all combinations to verify output only 1 when all inputs are 1