Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Verilog HDL long delay generation

Status
Not open for further replies.

Dino1400

Full Member level 1
Full Member level 1
Joined
Sep 22, 2010
Messages
95
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,941
I need to generate a long delay without using # , wail or for……….
Maybe A function that i will call once for a small delay say 5min or four times for 20 min
im looking for a long dealy
Any ideas please

---------- Post added at 19:20 ---------- Previous post was at 19:06 ----------

verilog synthesizable long multiple delays
 

You can use a very long counter.
 

you mean like a 1024-counter, but i need about 5-different delays should i use 5 counters
 

not necessarily a 1024-counter
The exact width shall be determined by the required delay and your system clock.

You don't have to use 5 different counters.
Set the counter width according to your longest delay.

The shorter delays will be activated when your counter reaches the desired vaule.
 

say we have a 100KHz clock how can generate a 5 minute delay without having a very long counter that may stop at all one's 111111111111111111111

---------- Post added at 20:46 ---------- Previous post was at 20:46 ----------

get me start in here im really confused please.
 

Suppose your longest delay is toggled at :
111111111111111111111

The next shorter delay can be toggled at :
011111111111111111111

You can, but you don't have to use 2 seperate counters...

I don't speak Verilog very well - I can show you the VHDL code if you'd like.
 

thank very much I appreciate you help
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top