Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

synthesizable delays...

Status
Not open for further replies.

raja1982y

Newbie level 5
Joined
Aug 7, 2007
Messages
9
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,283
Location
India
Activity points
1,354
Hi,

I am new to this group. I am new to design.

How can i design a module that consists of synthesizable delays. For example after assertion of "en" signals wait 2,3 or 4 clock cycles and then assert "strobe" signal. The delays are programmable. How can introduce the synthesizable delays between "en" and "strobe" signals.

Thanks,
Raja.
 

rsrinivas

Advanced Member level 1
Joined
Oct 10, 2006
Messages
415
Helped
50
Reputation
100
Reaction score
12
Trophy points
1,298
Location
bengalooru
Activity points
3,704
u can use a counter to count the number of cycles desired and then assert or deassert the required signals.
No delays like #3 or wait are synthesizable.
 

raja1982y

Newbie level 5
Joined
Aug 7, 2007
Messages
9
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,283
Location
India
Activity points
1,354
if i have so many signals with different delays then there will be so many counters. If i synthesize the code there will be so many counters created. what about the performance of the module?

Thanks.
 

avimit

Banned
Joined
Nov 16, 2005
Messages
413
Helped
91
Reputation
182
Reaction score
23
Trophy points
1,298
Location
Fleet, UK
Activity points
0
Hi,
You need just one counter, preferably a counter that counts down instead of up. Then load your 'programable' delay value in this counter then, let it count down until it reaches 0. At 0 value, assert your strobe.
Hope it helps, let me know if it works for you, if not, then time permitting, I may be able to do a small code for you
Kr,
Avi
http://www.vlsiip.com
 

raja1982y

Newbie level 5
Joined
Aug 7, 2007
Messages
9
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,283
Location
India
Activity points
1,354
Is counters is the only way or there any other methods for implementing the synthesizable delays?

-Rj
 

avimit

Banned
Joined
Nov 16, 2005
Messages
413
Helped
91
Reputation
182
Reaction score
23
Trophy points
1,298
Location
Fleet, UK
Activity points
0
Yes, Counter is the only way you are going to accomplish it.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top