UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Reply

In Virtex 5 From:To Constraints is for Both Setup and Hold

Highlighted
Visitor
Posts: 2
Registered: ‎10-14-2016

In Virtex 5 From:To Constraints is for Both Setup and Hold

  I am using Virtex 5 FPGA(Tool -Xilinx ISE) in my project. In Constraint guide it is written that

 

"For Virtex®-5 devices, the From To constraint controls both setup and hold paths."

 

 So I want to know that how can I define Max Delay for Setup and Min Delay for Hold path?

 

If I have written following constraint in ucf file

 

TIMESPEC TS_FF2FF = FROM FFS TO FFS 10 ns;

 

Then What is Max Delay and Min Delay between two Flip Flops?

 

Please give me guidance for the same.

 

Thanks.

 

-----Vishal Patel.

Instructor
Posts: 3,829
Registered: ‎01-23-2009

Re: In Virtex 5 From:To Constraints is for Both Setup and Hold

You can't.

 

More importantly, you shouldn't!

 

Why would you want to do this?

 

The path from FF to FF is normally defined by the PERIOD constraint. When you define the PERIOD constraint, the tools understand the requirements for both the setup and hold check. These checks take more than just the PERIOD into account; they also budget for clock skew, jitter and (if necessary) duty cycle. The FROM TO constraint you applied does not account for some of these (i.e. jitter and duty cycle).

 

There are a few reasons to override the PERIOD checks with the FROM TO checks

  - related asynchronous paths

  - some paths around synchronizers

  - mutlicycle paths

 

But these are special cases. For the first two, one tends to use the DATAPATH_ONLY flag, which disables hold checks (at least I am pretty sure it does). The last one (multicycle paths) uses a special format of the FROM TO where, instead of using a number for the delay value, you use an expression based on the TIMESPEC for the period constraint (i.e. TS_sys_clk * 2). In this case, the hold time remains a "normal" hold check, but the setup check is doubled.

 

Avrum

Xilinx Employee
Posts: 962
Registered: ‎05-14-2008

Re: In Virtex 5 From:To Constraints is for Both Setup and Hold

In UCF, there is no way to specify min delay.

Hold check will remain the same as of the default period constraint.

 

Thanks

Vivian