create_library_set -name LIBSET_WC -timing "$lib_list_wc"
create_library_set -name LIBSET_BC -timing "$lib_list_bc"
create_rc_corner -name rc_best \
-cap_table toto.capTbl \
-preRoute_res 1 \
-postRoute_res 1 \
-preRoute_cap 1 \
-postRoute_cap 1 \
-postRoute_xcap 1 \
-postRoute_clkres 0 \
-postRoute_clkcap 0 \
create_rc_corner -name rc_worst \
-cap_table toto.capTbl \
-preRoute_res 1 \
-postRoute_res 1 \
-preRoute_cap 1 \
-postRoute_cap 1 \
-postRoute_xcap 1 \
-postRoute_clkres 0 \
-postRoute_clkcap 0 \
create_delay_corner -name WC_dc -library_set LIBSET_WC -opcond_library "wc" -rc_corner rc_worst
create_delay_corner -name BC_dc -library_set LIBSET_BC -opcond_library "bc" -rc_corner rc_best
create_constraint_mode -name CM -sdc_file toto.sdc
create_analysis_view -name AV_WC_RCWORST -constraint_mode CM -delay_corner WC_dc
create_analysis_view -name AV_BC_RCBEST -constraint_mode CM -delay_corner BC_dc
set_analysis_view -setup "AV_WC_RCWORST" -hold "AV_WC_RCWORST AV_BC_RCBEST"