Altera_Forum
Honored Contributor
15 years agoTimequest/SDC: How to Constrain Input Data Relative to an Output Clock?
Hi
I am interfacing to a DDR SRAM (not SDRAM), and am clocking read data with a clock generated in the FPGA, rather than a source synchronous echo clock generated by the SRAM. The SRAM is operating with a single input clock k (actually a complementary pair - k and kn), generated by the FPGA. SRAM clock (k) to data out time (tCO) = 0.45ns max. I want to add an SDC constraint which specifies the timing between the k clock FPGA pin (an FPGA output) and the input data FPGA pin dq - ie the path from FPGA k clock output pin, over the k clock trace, through the SRAM (tCO) to the dq outputs, then over the dq trace back to FPGA input pins. 1) Is this a legal SDC constraint? Or can I only specify relationships between output clock and output data, or input clock and input data? 2) Can I specify the timing relative to the FPGA clock output pin, as opposed to the internal clock which drives the pad? 3) What SDC statement should I use? set_input_delay? 4) Where can I find documentation on this? I've gone through the Source Synchronous App Notes, but unfortunately they aren't really applicable, as this is not a source synchronous clocking scheme. Thanks, Chris