Altera_Forum
Honored Contributor
12 years agoTimequest question using gated clocks
Hello, I'm working on a design under Quartus II v12.1, and I have one question about Timequest.
I want to use a slow gated clock, which is generated from a synchronized design (cf. image in attachement). The problem is that when the data (slow_dat) is moving at the same time than the clock (slow_clock), the output is garbage. I though that there was possible to tell to timequest to constraint the design so that the fitter will let enough time between sclk_b and sdat_b to be sure the setup time of the output register will be respected. So I entered something like this in timequest/.sdc file : # Main clock create_clock -name {clk16384} -period 61.035 -waveform { 0.000 30.517 } [get_ports {clk16384}] # Gated clock created from a register (which name is FILT_resync_in2) create_generated_clock [get_registers {resyncsig:FILT_resync_in2|DOUT}] -name sclk_b -source [get_ports {clk16384}] -master_clock [get_clocks {clk16384}] # Generate clock uncertainties from the design derive_clock_uncertainty It seems that there is still garbage on the output port. I would like to know what is wrong in my approach. Thanks, Jérôme Nota : I have solved this problem by insuring that the data will not move on the clock rising edge, but I would like to understand why timequest didn't work as expected.