Forum Discussion
Altera_Forum
Honored Contributor
8 years agoCorrect or not, I'm not sure ... at least there is no ignored constraints.
Concerning input/output delay, they were generated by the project builder - utility, delivered by board manufacturer - Terasic. BTW, here is the content of constraint file:#**************************************************************
# This .sdc file is created by Terasic Tool.
# Users are recommended to modify this file to match users logic.
# **************************************************************
# **************************************************************
# Create Clock
# **************************************************************
create_clock -period 20.0 -name clk CLOCK_50
# for enhancing USB BlasterII to be reliable, 25MHz
create_clock -name {altera_reserved_tck} -period 40 {altera_reserved_tck}
derive_pll_clocks
derive_clock_uncertainty
set_input_delay -clock altera_reserved_tck -clock_fall 3
set_input_delay -clock altera_reserved_tck -clock_fall 3
set_output_delay -clock altera_reserved_tck 3
# **************************************************************
# Create Generated Clock
# **************************************************************
create_generated_clock -name clk_sdram_ext -source .gpll~FRACTIONAL_PLL|fbclk}]
create_generated_clock -name clk_data -source .gpll~PLL_OUTPUT_COUNTER|divclk}] |clk}]
# **************************************************************
# Set Input Delay
# **************************************************************
# Board Delay (Data) + Propagation Delay - Board Delay (Clock)
set_input_delay -clock clk_sdram_ext -max -0.048
set_input_delay -clock clk_sdram_ext -min -0.057
# **************************************************************
# Set Output Delay
# **************************************************************
# max : Board Delay (Data) - Board Delay (Clock) + tsu (External Device)
# min : Board Delay (Data) - Board Delay (Clock) - th (External Device)
set_output_delay -clock clk_data -max 1.452
set_output_delay -clock clk_data -min -0.857
set_output_delay -clock clk_data -max 1.531
set_output_delay -clock clk_data -min -0.805
set_output_delay -clock clk_data -max 1.533
set_output_delay -clock clk_data -min -0.805
set_output_delay -clock clk_data -max 1.510
set_output_delay -clock clk_data -min -0.800
set_output_delay -clock clk_data -max 1.520
set_output_delay -clock clk_data -min -0.780
set_output_delay -clock clk_data -max 1.5000
set_output_delay -clock clk_data -min -0.800
set_output_delay -clock clk_data -max 1.545
set_output_delay -clock clk_data -min -0.755
set_output_delay -clock clk_data -max 1.496
set_output_delay -clock clk_data -min -0.804
set_output_delay -clock clk_data -max 1.508
set_output_delay -clock clk_data -min -0.792
# **************************************************************
# Set Clock Groups
# **************************************************************
# **************************************************************
# Set False Path
# **************************************************************
set_false_path -from
set_false_path -from
set_false_path -from * -to
set_false_path -from * -to
set_false_path -from * -to clk_data - output of the "zero delay buffer" PLL, clk_sdram_ext - zdbfbclk output of the same PLL that is applied to the external SDRAM clock input. I'm not sure that such connection solution is perfect - I picked it from old Altera presentation (at least as I understood it) https://www.alteraforum.com/forum/attachment.php?attachmentid=14180