Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHello,
I ran a timing analysis using TimeQuest and generated a SDC file using TimeQuest analyser wizard. It seems that many time constraints are not fulfilled. Moreover, when I open my wizard generated SDC file, I read comments like: “# Automatically calculate clock uncertainty to jitter and other effects. # derive_clock_uncertainty # Not supported for family MAX V” The problem here seems to be the generation of the 12.5 MHz clock from a 100 MHz input clock. I would have done this using a PLL on a FPGA but I cannot do that on a CPLD. Is there a way to properly create a generated clock with VHDL or should I think of another approach to build this block? Thank you in advance for your comments. Fabe SDC file: # Clock constraints create_clock -name "clk" -period 10.000ns [get_ports {clk}] create_generated_clock -name clk_sawtooth -source [get_ports {clk}] -divide_by 8 [get_registers {Sawtoothx:inst|cont_reg[2]}] # Automatically constrain PLL and other generated clocks derive_pll_clocks -create_base_clocks # Automatically calculate clock uncertainty to jitter and other effects. # derive_clock_uncertainty # Not supported for family MAX V # tsu/th constraints set_input_delay -clock "clk" -max 0.5ns [get_ports {reset}] set_input_delay -clock "clk" -min 0.125ns [get_ports {reset}] # tco constraints set_output_delay -clock "clk" -max 0.25ns [get_ports {CS}] set_output_delay -clock "clk" -max 0.25ns [get_ports {DOUT}] set_output_delay -clock "clk" -max 0.25ns [get_ports {SCLK}] # tpd constraints set_max_delay 0.125ns -from [get_ports {reset}] -to [get_ports {CS}] set_max_delay 0.125ns -from [get_ports {reset}] -to [get_ports {DOUT}] set_max_delay 0.125ns -from [get_ports {reset}] -to [get_ports {SCLK}]