Altera_Forum
Honored Contributor
12 years agoConstraining a source synchronous, SDR, center aligned Input
I'm running mad with this:
I want to connect a Texas Instruments TLK2201 to my FPGA (Cyclone IV). This Ethernet-Serdes has got a Ten-Bit-Interface (TBI) with center aligned Data at 125MHz. The Data are valid on the rising edge of the clock. If I look at the Data and Clock directly on the board, all Data are changing at the same time and the rising edge of the clock is exactly in the middle of two Data-changes. But when I watch the TBI inside the FPGA via Logic Analyzer Interface (LAI) the Data-changes on the ten Signals varies by 2 to 3 ns. And both clock edges are so close to the Data-changes that it is nearly impossible to get some valid Data either on the rising nor the falling Edge. I tried a lot on constraining the Input-Delays, but all the examples are confusing me more than give me a hint what to do next. I tried the Assistant for source-synchronous-Inputs (quartus_sta --ssc), I tried to constrain it by the example given here: http://www.altera.com/support/examples/timequest/exm-tq-ca_ss_in.html but what the heck is that "data-clock". I don't see why I have to constain a PLL tha isn't in the design of my FPGA. And another example created a virtual clock with "create_generated_clock". Aren't virtual clocks not constrained by "create_clock"???? See: http://www.alteraforum.com/forum/showthread.php?t=35273&highlight=constrain+sdr+center+aligned And I read the AN433 forward AND backward without getting a single clue out of it. Sometimes my constrains seem to work, sometimes they don't. But everything I see is really none deterministic. I just don't get it!! How can I constrain the Data Inputs to change at the same time? How can I just get the clock center aligned into my design so I can read the Data on the falling edge of this clock? Pleeeease I need Help or at least a psychiatrist. Just tell me, what you want to know about my Design and I will provide it to you as soon as possible. Thanks to you all Yours Steffen