Imagine a situation where the absolut delay of a group of signals doesn't matter, but it must be ensured each signal of the group has roughly the same delay until it reaches a certain point, say a FF. How does the constraint for this look like?
E.g. there are 4 signals (A-D) arriving from outside the FPGA. I don't care how long these signals are delayed inside the FPGA, as long as they arrive at the FFs within a time window of +/- X ns, i.e. A arrives at a FF at time T, D arrives at a FF at time T+X ns, and B and C arrive at FFs some time in between.
Is it possible to formulate a fitting constraint in Xilinx' UCF or XCF syntax? Or do all these timings have to be handled within the IOBs and there is no way to handle this inside the FPGA?
The desired constraint seems to be similar to an OFFSET constraint, but is not the same, since there is no maximum value for the total delay.
Asked
Active
Viewed 205 times
1

andrsmllr
- 883
- 1
- 8
- 22
-
Do you use I/O-FFs in the IOB? If so, the delay is fixed because the path on PCB and in the FPGA from pin to I-FF are known. – Paebbels Nov 04 '15 at 20:05
-
If I understand this right, you want to make sure that all the signals from an outside source arrive at the same time to the internal FF of the FPGA. This is can be done in many different way. If you have access to the information form the board to know roughly how much the differnce is the delay between each signals based on the routing, you may add a idelay for the signals to compensate for the delay of the PCB. – FarhadA Nov 06 '15 at 12:27
1 Answers
1
One way is to define a FROM TO constraint, e.g. in UCF syntax:
TIMEPSEC "TS_PAD2FF" = FROM PADS("my_ports") TO FFS("my_ffs") 4 ns;
However, this does not define the maximum allowed difference of the path delays, but an absolute path delay for all paths from a group of pads to a group of FFs. So a possible fixed timing delay which all paths have in common is not considered in this constraint. It's as close as one can get...
If it was possible to define a maximum skew for a general group of paths that would be another option, but all tools I have come across only allow skew definition with respect to a clock signal.

andrsmllr
- 883
- 1
- 8
- 22