54 lines
3.3 KiB
Plaintext
54 lines
3.3 KiB
Plaintext
###############################################################################
|
|
# Created by write_sdc
|
|
###############################################################################
|
|
current_design sdc_test2
|
|
###############################################################################
|
|
# Timing Constraints
|
|
###############################################################################
|
|
create_clock -name clk1 -period 10.000000 [get_ports {clk1}]
|
|
create_clock -name clk2 -period 20.000000 [get_ports {clk2}]
|
|
create_clock -name vclk -period 8.000000
|
|
create_clock -name clk1_2x -add -period 5.000000 [get_ports {clk1}]
|
|
create_clock -name clk_asym -add -period 12.000000 -waveform {0.000000 3.000000} [get_ports {clk2}]
|
|
create_generated_clock -name gclk_div2 -source [get_ports {clk1}] -divide_by 2 [get_pins {reg1/Q}]
|
|
set_clock_transition 0.120000 [get_clocks {gclk_div2}]
|
|
set_clock_uncertainty -setup 0.150000 gclk_div2
|
|
set_clock_uncertainty -hold 0.080000 gclk_div2
|
|
set_propagated_clock [get_clocks {gclk_div2}]
|
|
create_generated_clock -name gclk_div3 -source [get_ports {clk2}] -divide_by 3 [get_pins {reg3/Q}]
|
|
create_generated_clock -name gclk_mul2 -source [get_ports {clk1}] -multiply_by 2 [get_pins {reg2/Q}]
|
|
set_clock_transition -rise -max 0.150000 [get_clocks {gclk_mul2}]
|
|
set_clock_latency 0.150000 [get_clocks {gclk_div3}]
|
|
set_clock_uncertainty -rise_from [get_clocks {clk1}] -rise_to [get_clocks {gclk_div2}] -setup 0.200000
|
|
set_clock_uncertainty -rise_from [get_clocks {clk1}] -fall_to [get_clocks {gclk_div2}] -setup 0.200000
|
|
set_clock_uncertainty -fall_from [get_clocks {clk1}] -rise_to [get_clocks {gclk_div2}] -setup 0.200000
|
|
set_clock_uncertainty -fall_from [get_clocks {clk1}] -fall_to [get_clocks {gclk_div2}] -setup 0.200000
|
|
set_clock_uncertainty -rise_from [get_clocks {gclk_div2}] -rise_to [get_clocks {clk2}] -hold 0.100000
|
|
set_clock_uncertainty -rise_from [get_clocks {gclk_div2}] -fall_to [get_clocks {clk2}] -hold 0.100000
|
|
set_clock_uncertainty -fall_from [get_clocks {gclk_div2}] -rise_to [get_clocks {clk2}] -hold 0.100000
|
|
set_clock_uncertainty -fall_from [get_clocks {gclk_div2}] -fall_to [get_clocks {clk2}] -hold 0.100000
|
|
set_clock_groups -name genclk_async -asynchronous \
|
|
-group [list [get_clocks {clk2}]\
|
|
[get_clocks {gclk_div3}]]\
|
|
-group [list [get_clocks {clk1}]\
|
|
[get_clocks {clk1_2x}]\
|
|
[get_clocks {gclk_div2}]\
|
|
[get_clocks {gclk_mul2}]]
|
|
set_input_delay 3.000000 -clock [get_clocks {gclk_div2}] -add_delay [get_ports {in1}]
|
|
set_input_delay 3.500000 -clock [get_clocks {gclk_div2}] -rise -max -add_delay [get_ports {in2}]
|
|
set_input_delay 1.500000 -clock [get_clocks {gclk_div2}] -fall -min -add_delay [get_ports {in2}]
|
|
set_output_delay 2.000000 -clock [get_clocks {gclk_mul2}] -add_delay [get_ports {out1}]
|
|
set_output_delay 2.500000 -clock [get_clocks {gclk_div3}] -add_delay [get_ports {out2}]
|
|
set_multicycle_path -setup\
|
|
-from [get_clocks {clk1}]\
|
|
-to [get_clocks {gclk_div2}] 3
|
|
set_false_path\
|
|
-from [get_clocks {gclk_div2}]\
|
|
-to [get_clocks {gclk_div3}]
|
|
###############################################################################
|
|
# Environment
|
|
###############################################################################
|
|
###############################################################################
|
|
# Design Rules
|
|
###############################################################################
|