when i simulate the gain of a single voltage erramp, the two input bias voltages are different,just as 2V&2.045V.
Is the difference of the voltages(0.045V) the offset voltage ?
Make the latch is short with the clock enable.
measure the difference voltage of the two ports of output.
Because the comparator is configured unit gain when the clock enable, so the difference voltage is the offset .