Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
jnanabindu said:I think you are refering to the delay involved in generation of seqfound signal.
previous<={previous[1:0],data};
seqfound<={previous==pattern_searched_for};
When you change the value of previous signal, this value is available to seqfound expression in the next iteration of the flow. This is because you have declared the previous signal as reg. Try declaring it as wire. Hope that will solve your problem.
seqfound<={previous==pattern_searched_for};