Altera_Forum
Honored Contributor
16 years agoTimequest and external intefaces
I am running a Timequest timing analysis on our design and it is failing both setup and hold requirements for external interfaces to a video decoder and video encoder. In both cases the clock is coming into the FPGA from the external device. In one case the data is fpga->device, in the other the data is device->fpga.
I am new to Timequest and I have tried to follow the Altera Source Synchronous Interface online training to create the constraints and then fix the timing problem. However, the fix suggested is to adjust the phase shift of the clocks using a PLL but neither external clock goes into a PLL, they just drive the logic directly. Is this a poor design? Should I have all external clocks going into separate PLLs in the fpga? If not, then is there another way to handle timing constraints when the clock is an fpga input rather than an fpga output? The constraints that I have are: set_input_delay -clock tvp_dataclk -max 35.1 [get_ports {tvp_yout*}] -add_delay set_input_delay -clock tvp_dataclk -min 34.7 [get_ports {tvp_yout*}] -add_delay set_output_delay -clock adv_clk -max 18.3 [get_ports {adv7171_d*}] -add_delay set_output_delay -clock adv_clk -min -18.3 [get_ports {adv7171_d*}] -add_delay n.b. tvp_dataclk is 14.31818MHz, adv_clk is 27MHz