In reply to Muthamizh:
This is the eda link. Now i have got the output. But i dunno whether it is correct i.e is it compatible with the waveform??