Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

Can actual delays be implemented with .sdc constrains?

Hi,

Can actual delays be implemented with .sdc constrains?

I will try to explain what i want to achieve:

Lets say i have PLL with two output clocks "pll_c0" and "pll_c1".

"pll_c0" drives DDR output register which is connected to output pin "clkout"

"pll_c1" drives DDR output register which is connected to dataout[4..0] pins.

By changing "pll_c1" clock phase i can change Tco ("clkout" to whole dataout[4..0]).

But is there something i can do to add even more delay to lets say single pin dataout[4]?

I have tried to apply set_output_delay to each individual pins with different Tsu and Th times but while testing on hardware i dont see any difference.

My .sdc looks like:

# Base clocks
create_clock -period 5 -name clk 
# PLL
create_generated_clock     -name  pll_c0 
                                -source ] 
                                -phase 0 ]
                                
create_generated_clock     -name   pll_c1 
                                -source ] 
                                -phase 0 ]
# Output clk pin                               
create_generated_clock -name clkout 
                                -source .altgpio_bit_i|out_path_ddr.fr_out_data_ddio|dataout}] 
                                
                                # Output constraints                   
set_output_delay    -max $Tsu 
                        -clock  }]
                        
set_output_delay    -min -$Th 
                        -clock  }]                        
                        
set_output_delay    -max $Tsu 
                        -clock  
                        -clock_fall }] -add_delay
                                            
set_output_delay    -min -$Th 
                        -clock  
                        -clock_fall }] -add_delay

14 Replies