
The simulation utilizes the full set of electromagnetic and hadronic physics processes provided by Geant4 and detailed particle tracking in the 4 tesla magnetic field. The CMS object oriented Geant4-based program is used to simulate the complete central CMS detector (over 1 million geometrical volumes) and the forward systems such as the Totem telescopes, Castor calorimeter, zero degree calorimeter, Roman pots, and the luminosity monitor. In comparison with conventional logic truth table, T-Spice output simulation matches with theoretical expectations. Simulations have been done with the use of the Tanner EDA tool in a CMOS technology standard and response output was verified comparing the obtained waveform along with its truth table.

The design methods and principles are described thereafter. The complete CMOS circuit schematic are described in this paper. This design provides the CMOS half adder, half subtractor, full adder, and full subtractor using the Tanner EDA software tool. The NMOS and PMOS were bridge together to produce the desired output. These CMOS circuitries has the advantage of lower voltage, lower power consumption, and higher energy efficiency. The presented circuit contains NAND gates combining the NMOS and PMOS. This paper presents the simulation of half adder, half subtractor, full adder, and the full subtractor.

In recent years, low power consumption has been an important consideration for the design of system since there is a high demand for consumer electronics such as cellphones for a longer battery life.
