Not able to release the signal

Hi ,

For one of my simulation requirements I am forcing the interface signal to value 1 and then after sometimes I releasing it. I can see the arror pointer indicating the signal forced/release in the waveform , also the signal value is forced to 1 but when I do release the signal value does not become 0.

below is my code snippets.

spi_ig_if0.pause (pause signal width is 8 bits)

force top.spi_ig_if0.pause = 8’hFF ;

after #200 ns;

release top.spi_ig_if0.pause ;

But in the waveform when I see the the release is not happening from 1 to 0.

Can anyone help me with this ?

Thanks,

In reply to sarang:

Released variable/net will not change the value until you have done a continuous assignment or a procedural statement get executed on the respective variable.

Thanks
Gaurav Singh