《DCTFlow脚本分享》
ExampleTop-DownCompileScriptinTopographicalMode
#Specifythelibraries
set_app_varsearch_path"$search_path./libraries"
set_app_varlink_library"*max_lib.db"
set_app_vartarget_library"max_lib.db"
create_mw_lib-technology$mw_tech_file\
-mw_reference_library$mw_reference_library$mw_lib_name
open_mw_lib$mw_lib_name
#Readthedesign
read_verilogrtl.v
#Definethedesignenvironment
set_load2.2sout
set_load1.5cout
set_driving_cell-lib_cellFD1[all_inputs]
#Settheoptimizationconstraints
create_clockclk-period10
set_input_delay-max1.35-clockclk{ainbin}
set_input_delay-max3.5-clockclkcin
set_output_delay-max2.4-clockclkcout
extract_physical_constraintsdef_file_name
#Mapandoptimizethedesign