cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Prakhar
Visitor
Visitor
313 Views
Registered: ‎06-17-2020

how to write $setuphold task for a bus ?

Hello,

I want to write specify block for a bus [2:0] A
Please let me know which kind of coding should I choose and why 

specify

1) $setuphold (posedge CLK, posedge A, 0:0:0, 0:0:0, notifier_a, enable_a, enable_a, CLKA_delay,A_delay);

$setuphold (posedge CLK, negedge A, 0:0:0, 0:0:0, notifier_a, enable_a, enable_a, CLKA_delay,A_delay);

2) $setuphold (posedge CLK, posedge A[0], 0:0:0, 0:0:0, notifier_a, enable_a, enable_a, CLKA_delay,A_delay[0]);

$setuphold (posedge CLK, posedge A[1], 0:0:0, 0:0:0, notifier_a, enable_a, enable_a, CLKA_delay,A_delay[1]);

$setuphold (posedge CLK, posedge A[2], 0:0:0, 0:0:0, notifier_a, enable_a, enable_a, CLKA_delay,A_delay[2]);

$setuphold (posedge CLK, negedge A[0], 0:0:0, 0:0:0, notifier_a, enable_a, enable_a, CLKA_delay,A_delay[0]);

$setuphold (posedge CLK, negedge A[1], 0:0:0, 0:0:0, notifier_a, enable_a, enable_a, CLKA_delay,A_delay[1]);

$setuphold (posedge CLK, negedge A[2], 0:0:0, 0:0:0, notifier_a, enable_a, enable_a, CLKA_delay,A_delay[2]);

endspecify

0 Kudos
1 Reply
yashp
Moderator
Moderator
252 Views
Registered: ‎01-16-2013

Hi,

Sorry but I am not sure what are you trying to achieve here, can you please share details?

This forum is for STA regarding analysis/constraints issue, after you provide the details I may be help you to direct to correct forum.

Thanks,
Yash
0 Kudos