Replaced edge~ with straight signal logic

Will make the timing more accurate.