03-08-2013 09:07 AM
I just learned the trainning Global Timing Constraints and that is great.
I just have a question about a part of the training shown below. In this diagram, we are told there was 4 ns for the upstream device output so the offset in is 6 ns for 100MHz. My question is: how do we get this information like 4 ns or 5 ns?
For the upstream device tp403 I have, I only have this from the datesheet:
Tsu(1,2, min)=1ns, Th(1,2, min)=1ns.
In this case, what is the offset in? Assume the system clk is 100MHz.
The page from training:
03-08-2013 11:30 AM
And what is the constraint line for this case? Is the following correct?
OFFSET = IN 9 ns VALID 1 ns BEFORE “ODCK”
That constraint tells the tools that the signal in question will be valid 9 ns before the active edge of the clock (which you must specify) and it will remain valid for 1 ns.
As to whether it's correct for your given situation, I don't know since I didn't really read your homework assignment. My guess is ... that it's not. (Ask yourself why.)
03-08-2013 01:51 PM
03-11-2013 10:14 AM
Is the above right, any one?
For an upstream device feeding the FPGA's inputs, the only parameter of interest is clock-to-out time.
And that assumes that the clock in question is the same one which clocks the FPGA's input.
03-12-2013 08:43 AM
Above post is right!
You need to post the clk to output times (min and max delay of data start to clock edge). This will determine your offset in constraint for the FPGA.
The tsu/thld is completely irrelevant as that part has no clue what the ILOGIC Tsu/Th for the FPGA is. Repost the clk-Q data.