Dr Singh : A Square Wave Waveform is symmetrical in shape and has a positive pulse width equal to its negative pulse width resulting in a 50% duty cycle. Square wave waveforms are used in digital systems to represent a logic level “1”, high amplitude and logic level “0”, low amplitude.
I'm not sure what the problem is, but it may be that you can't have two voltages at the same time step. This is fine, because there is no such thing as zero rise-time in real life or when simulating real circuits. Your circuit will have a maximum frequency, and that will define the shortest risetime that it can follow, close to 0.35/frequency. This frequency is close to the 3 dB roll-off frequency of your circuit response. If you make the time difference between the bottom of the step and the top of the step 1/10 of this it will have no noticeable difference to the effect of a zero risetime step. The time gap may not even have to be this small.