Altera_Forum
Honored Contributor
14 years agoPlease help me with setup slack error
Hi:
I use FPGA to capture 6 channel ADC output simutaneously. The pin of ADC output clock is COUT and 8MHz. The width of ADC output data is 16 bits. The time of valid data is about half of the period of COUT, that is, 62.5 ns. The relation between COUT and DAB( pin name of output data) is as follows: https://www.alteraforum.com/forum/attachment.php?attachmentid=3899 the timing specification of ADC is as follows: https://www.alteraforum.com/forum/attachment.php?attachmentid=3900 I use the following commands to constrain the source-synchronous input: --- Quote Start --- # base clock, 90 degree phase shift create_clock -name {adc_cout} -period 125.000 -waveform { 31.250 93.750 } [get_ports { ADC3_COUT ADC2_COUT ADC1_COUT }] # virtual clock, for set_input_delay create_clock -name {adc_virt_cout} -period 125.000 -waveform { 0.000 62.500 } # set input delay set_input_delay -add_delay -max -clock [get_clocks {adc_virt_cout}] 54.500 [get_ports {ADC1_DA[0]}] set_input_delay -add_delay -min -clock [get_clocks {adc_virt_cout}] 2.000 [get_ports {ADC1_DA[0]}] set_input_delay -add_delay -max -clock [get_clocks {adc_virt_cout}] 54.500 [get_ports {ADC1_DA[1]}] set_input_delay -add_delay -min -clock [get_clocks {adc_virt_cout}] 2.000 [get_ports {ADC1_DA[1]}] ... --- Quote End --- After reporting timing, the setup slack is: https://www.alteraforum.com/forum/attachment.php?attachmentid=3901 the hold slack is: https://www.alteraforum.com/forum/attachment.php?attachmentid=3902 I still couldn't figure out what went wrong. Could anyone please help me? Thanks!