I am trying to simulate the following cmos comparator circuit using cadence virtuoso spectre.
Here's my schematic on cadence:
I am using the following test bench to simulate the circuit with Ibias = 5 microAmp, VDD = 5 V, VSS = 0. VN is grounded and VP is a sinewave.
This is the result of transient simulation. As can be seen the output on the bottom does not react to the input at all. I expected to see a square wave but I just get Vdd the entire time. Any feedback on this?