" #1 "

Z

zanzyinlove

Guest
Hello ,

why do people use " #1 " inside an always block in RTL code. Any specific
reasons?

always @(posedge mhz125)
Q <= #1 D;
 
"Andy Peters" <Bassman59a@yahoo.com> wrote in message
news:9a2c3a75.0406281503.28b62a9@posting.google.com...
"zanzyinlove" <zanzyinlove@zanzyland.com> wrote in message
news:<cbjl83$fn2$1@newssrv.muc.infineon.com>...
Hello ,

why do people use " #1 " inside an always block in RTL code. Any
specific
reasons?

always @(posedge mhz125)
Q <= #1 D;

Because they want to see the clock-to-out delay on their waveforms...

But is this construct synthesizable?

> -a
 
On Tue, 29 Jun 2004 09:38:59 +0530, "zanzyinlove"
<zanzyinlove@zanzyland.com> wrote:

"Andy Peters" <Bassman59a@yahoo.com> wrote in message
news:9a2c3a75.0406281503.28b62a9@posting.google.com...
"zanzyinlove" <zanzyinlove@zanzyland.com> wrote in message
news:<cbjl83$fn2$1@newssrv.muc.infineon.com>...
Hello ,

why do people use " #1 " inside an always block in RTL code. Any
specific
reasons?

always @(posedge mhz125)
Q <= #1 D;

Because they want to see the clock-to-out delay on their waveforms...

But is this construct synthesizable?
Yes, in the sense that the synthesiser will ignore the #1.

Regards,
Allan.
 

Welcome to EDABoard.com

Sponsor

Back
Top