Question

Hi all, 

 

How to implent delay in verilog code?

I want to run a led blink code with one second delay using zynq zybo-7-z10

Thanks in advance

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Have you seen this article?  It goes about describing this Verilog delay code (here).

The code is really written for signal processing, not so much LED blinking.  Were you to use it, you'd probably want to slow down the LED sample rate, lest you use all of your block RAM describing a sample-by-sample delay.  How exactly you'd do this depends upon your signal source.  One option might be a 1-bit block averager, but like I say this all depends upon your source.

Dan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now