I’m trying to implement this boolean function using CMOS transmission gate in LTspice.
F = AB + A'C' + AB'C
I've used two symbols in my project:
- Transmission gate symbol schematic:
- 180nm CMOS inverter symbol (PMOS L=180nm and W=720nm)(NMOS L&W=180nm):
This is my circuit for the boolean function:
This is my simulation for the above circuit:
As you can see, the output of the boolean expression is correct, but there are some unwanted spikes and falls.
How can I remove them?
I checked for spikes in AB, A'C', and AB' and it turns out they too have some small spikes which contribute to spikes in the final output. Is it just a transmission gate thing?