| Author |
Message |
dinesh.4126
Joined: 27 Feb 2008 Posts: 35
|
24 Jul 2008 16:43 Delay Concept |
|
|
|
Hi,
As we know that in verilog or VHDL delay are non syntesiable only they we use in writting the test bench ,so if want to use delay in our design then how we can use
it.
THANX.
|
|
| Back to top |
|
 |
mouzid
Joined: 22 Jun 2007 Posts: 205 Helped: 10
|
24 Jul 2008 16:48 Re: Delay Concept |
|
|
|
| dinesh.4126 wrote: |
Hi,
As we know that in verilog or VHDL delay are non syntesiable only they we use in writting the test bench ,so if want to use delay in our design then how we can use
it.
THANX. |
Buffer insertion introduces delays.
|
|
| Back to top |
|
 |
kokabanga
Joined: 02 May 2005 Posts: 45 Helped: 4
|
24 Jul 2008 17:01 Re: Delay Concept |
|
|
|
| dinesh.4126 wrote: |
Hi,
As we know that in verilog or VHDL delay are non syntesiable only they we use in writting the test bench ,so if want to use delay in our design then how we can use
it.
THANX. |
hxxp://www.vlsibank.com/sessionspage.asp?titl_id=1337
If you feel I have helped you, please click the helped me button.
Thanks,
all the best.
|
|
| Back to top |
|
 |
saikat
Joined: 21 Oct 2005 Posts: 46 Helped: 4 Location: mumbai
|
25 Jul 2008 10:06 Re: Delay Concept |
|
|
|
Use a simple counter (std_logic_vector) to count clock edges. First calculate the time period of a clock cycle and how much delay you require. From this data, you can calculate how many number of clock edges (either positive or negetive, but not both) you need to wait (or count) for providing the required time delay.
implement the same in a process block.
|
|
| Back to top |
|
 |
avimit
Joined: 16 Nov 2005 Posts: 415 Helped: 68 Location: Fleet, UK
|
31 Jul 2008 11:37 Delay Concept |
|
|
|
Well, it depends how much delay you would like. In a synthesizeable design its not possible to have a definite delay inserted when the delay value is less than 1/2 the clock period of the clock you are using. Using buffers will give you a delay, but the delay value will not be deterministic. Well, if you would like to have a delay of more than 1/2 a clock period, then you can use a counter to implement that, or if the delay is just 1 or 2 clock periods, then just pass the signal throuth 1 or 2 D flip flops respectively. Hope it helps,
kr,
Avi
|
|
| Back to top |
|
 |