Hi all,
As per the datasheet of SN74HCT04A, the Max. Value of VIL = 0.8 V which means the output should not go high till the input voltage goes below 0.8 V.
But when I am simulating using the spice model in TINA - TI, my output is going from high to low when my input is going above 2.5 V and the output is going from low to high when the input is going below 2.5 V.