mirror of https://github.com/efabless/caravel.git
115 lines
9.7 KiB
Plaintext
115 lines
9.7 KiB
Plaintext
|
### GPIO Control Block Signoff SDC
|
||
|
### Rev 1
|
||
|
### Date: 5/10/2022
|
||
|
|
||
|
###############################################################################
|
||
|
# Timing Constraints
|
||
|
###############################################################################
|
||
|
create_clock -name serial_clock -period 50.0000 [get_ports {serial_clock}]
|
||
|
set_clock_transition 0.1500 [get_clocks {serial_clock}]
|
||
|
set_clock_uncertainty 0.1000 serial_clock
|
||
|
set_propagated_clock [get_clocks {serial_clock}]
|
||
|
create_clock -name serial_load -period 50.0000 [get_ports {serial_load}]
|
||
|
set_clock_transition 0.1500 [get_clocks {serial_load}]
|
||
|
set_clock_uncertainty 0.1000 serial_load
|
||
|
set_propagated_clock [get_clocks {serial_load}]
|
||
|
|
||
|
set input_delay 5
|
||
|
set output_delay 5
|
||
|
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {gpio_defaults[0]}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {gpio_defaults[10]}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {gpio_defaults[11]}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {gpio_defaults[12]}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {gpio_defaults[1]}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {gpio_defaults[2]}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {gpio_defaults[3]}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {gpio_defaults[4]}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {gpio_defaults[5]}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {gpio_defaults[6]}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {gpio_defaults[7]}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {gpio_defaults[8]}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {gpio_defaults[9]}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {mgmt_gpio_oeb}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {mgmt_gpio_out}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_in}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {serial_data_in}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {user_gpio_oeb}]
|
||
|
set_input_delay $input_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {user_gpio_out}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {mgmt_gpio_in}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {one}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_ana_en}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_ana_pol}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_ana_sel}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_dm[0]}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_dm[1]}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_dm[2]}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_holdover}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_ib_mode_sel}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_inenb}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_out}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_outenb}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_slow_sel}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {pad_gpio_vtrip_sel}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {resetn_out}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {serial_clock_out}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {serial_data_out}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {serial_load_out}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {user_gpio_in}]
|
||
|
set_output_delay $output_delay -clock [get_clocks {serial_clock}] -add_delay [get_ports {zero}]
|
||
|
###############################################################################
|
||
|
# Environment
|
||
|
###############################################################################
|
||
|
set_load -pin_load 0.2100 [get_ports {mgmt_gpio_in}]
|
||
|
set_load -pin_load 0.2100 [get_ports {one}]
|
||
|
set_load -pin_load 0.2100 [get_ports {pad_gpio_ana_en}]
|
||
|
set_load -pin_load 0.2100 [get_ports {pad_gpio_ana_pol}]
|
||
|
set_load -pin_load 0.2100 [get_ports {pad_gpio_ana_sel}]
|
||
|
set_load -pin_load 0.2100 [get_ports {pad_gpio_holdover}]
|
||
|
set_load -pin_load 0.2100 [get_ports {pad_gpio_ib_mode_sel}]
|
||
|
set_load -pin_load 0.2100 [get_ports {pad_gpio_inenb}]
|
||
|
set_load -pin_load 0.2100 [get_ports {pad_gpio_out}]
|
||
|
set_load -pin_load 0.2100 [get_ports {pad_gpio_outenb}]
|
||
|
set_load -pin_load 0.2100 [get_ports {pad_gpio_slow_sel}]
|
||
|
set_load -pin_load 0.2100 [get_ports {pad_gpio_vtrip_sel}]
|
||
|
set_load -pin_load 0.2100 [get_ports {resetn_out}]
|
||
|
set_load -pin_load 0.2100 [get_ports {serial_clock_out}]
|
||
|
set_load -pin_load 0.2100 [get_ports {serial_data_out}]
|
||
|
set_load -pin_load 0.2100 [get_ports {serial_load_out}]
|
||
|
set_load -pin_load 0.2100 [get_ports {user_gpio_in}]
|
||
|
set_load -pin_load 0.2100 [get_ports {zero}]
|
||
|
set_load -pin_load 0.2100 [get_ports {pad_gpio_dm[2]}]
|
||
|
set_load -pin_load 0.2100 [get_ports {pad_gpio_dm[1]}]
|
||
|
set_load -pin_load 0.2100 [get_ports {pad_gpio_dm[0]}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {mgmt_gpio_oeb}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {mgmt_gpio_out}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {pad_gpio_in}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {resetn}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {serial_clock}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {serial_data_in}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {serial_load}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {user_gpio_oeb}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {user_gpio_out}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {gpio_defaults[12]}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {gpio_defaults[11]}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {gpio_defaults[10]}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {gpio_defaults[9]}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {gpio_defaults[8]}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {gpio_defaults[7]}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {gpio_defaults[6]}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {gpio_defaults[5]}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {gpio_defaults[4]}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {gpio_defaults[3]}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {gpio_defaults[2]}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {gpio_defaults[1]}]
|
||
|
set_driving_cell -lib_cell sky130_fd_sc_hd__inv_2 -pin {Y} -input_transition_rise 0.0000 -input_transition_fall 0.0000 [get_ports {gpio_defaults[0]}]
|
||
|
|
||
|
###############################################################################
|
||
|
# Design Rules
|
||
|
###############################################################################
|
||
|
set_max_transition 0.75 [current_design]
|
||
|
set_max_fanout 7.0000 [current_design]
|
||
|
|
||
|
# False path from the RESET port
|
||
|
set_false_path -from [get_ports "resetn"]
|
||
|
set_false_path -from [get_ports {gpio_defaults[*]}]
|