Can we put delay in the RTL for FPGA usage?

Status
Not open for further replies.

cafukarfoo

Full Member level 3
Joined
Jul 25, 2007
Messages
170
Helped
8
Reputation
16
Reaction score
5
Trophy points
1,298
Activity points
2,510
Hi Sir/Madam,

Can we put delay value in the RTL that we want to put inside FPGA for testing?

Is the FPGA synthesis going to honors this delay value?

Thanks in advance for your help.

always @(posedge clk)
val_d <= #1 va;
 

Do you mean like use "wait for 100ns" and then the FPGA translates it into real time delay !!!

Well I'm not sure, but I dought it ...


cafukarfoo said:
Hi Sir/Madam,

Can we put delay value in the RTL that we want to put inside FPGA for testing?

Is the FPGA synthesis going to honors this delay value?

Thanks in advance for your help.

always @(posedge clk)
val_d <= #1 va;
 

it is possible to add delay; but i don't recommend you
it has no effect; it will affect only in simulation not in the hardware implementation
 

wait statements are not supported by the synthesis tool. I think, depends on the tool, it will report an error.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…