📄 dc_setup.tcl
字号:
source -echo -verbose common_setup.tcl################################################################################## Design Compiler Top-Down Reference Methodology Setup# Script: dc_setup.tcl# Version: B-2008.09 (Oct. 3, 2008)# Copyright (C) 2007, 2008 Synopsys All rights reserved.############################################################################################################################################################################ Hierarchical Flow Blocks## If you are performing a hierarchical flow, define the hierarchical designs here.# List the reference names of the hierarchical blocks. Cell instance names will# be automatically derived from the design names provided.## Note: These designs are expected to be unique. There should not be multiple# instantiations of physical hierarchical blocks.## ICC-ILMs must be included in ${MW_REFERENCE_LIB_DIRS} and require a Milkyway# library setup even if you are using DC in WLM (non-topographical) mode.##########################################################################################set DDC_HIER_DESIGNS "" ;# List of DC hierarchical design names (DDC will be read)set DC_ILM_HIER_DESIGNS "" ;# List of DC-ILM hierarchical design names (DDC will be read) ############################################################################## # Note: ICC-ILM support is temporarily unavailable in the 2008.09 release due # to MW compatibility issues. There is a plan to fix this in a later # service pack. # Do not use or modify the following line for the 2008.09 release set ICC_ILM_HIER_DESIGNS "" ############################################################################################################################################################### Setup Variables## Modify settings in this section to customize your DC-RM run.################################################################################## Portions of dc_setup.tcl may be used by other tools so do check for DC only commandsif {$synopsys_program_name == "dc_shell"} { # Change alib_library_analysis_path to point to a central cache of analyzed libraries # to save some runtime and disk space. The following setting only reflects the # the default value and should be changed to a central location for best results. set alib_library_analysis_path .}set RTL_SOURCE_FILES "" ;# Enter the list of source RTL files if reading from RTL# The following variables are used by scripts in dc_scripts to direct the location# of the output filesset REPORTS_DIR "reports"set RESULTS_DIR "results"file mkdir ${REPORTS_DIR}file mkdir ${RESULTS_DIR}################################################################################## Library Setup## This section is designed to work with the settings from common_setup.tcl# without any additional modification.################################################################################## Define all the library variables shared by all the front-end toolsset search_path ". ${ADDITIONAL_SEARCH_PATH} $search_path"# Milkyway variable settings# Make sure to define the following Milkyway library variables# mw_logic1_net, mw_logic0_net and mw_design_library are needed by write_milkywayset mw_logic1_net ${MW_POWER_NET}set mw_logic0_net ${MW_GROUND_NET}set mw_reference_library ${MW_REFERENCE_LIB_DIRS}set mw_design_library ${DESIGN_NAME}_LIBset mw_site_name_mapping [list CORE unit Core unit core unit]# The remainder of the setup below should only be performed in Design Compilerif {$synopsys_program_name == "dc_shell"} { # Include all libraries for multi-Vth leakage power optimization set target_library ${TARGET_LIBRARY_FILES} set synthetic_library dw_foundation.sldb set link_library "* $target_library $ADDITIONAL_LINK_LIB_FILES $synthetic_library" # Set min libraries if they exist foreach {max_library min_library} $MIN_LIBRARY_FILES { set_min_library $max_library -min_version $min_library } if {[shell_is_in_topographical_mode]} { # Only create new MW design library if it doesn't already exist if {![file isdirectory $mw_design_library ]} { create_mw_lib -technology $TECH_FILE \ -mw_reference_library $mw_reference_library \ $mw_design_library } else { # If MW design library already exists, ensure that it is consistent with specified MW reference libraries set_mw_lib_reference $mw_design_library -mw_reference_library $mw_reference_library } open_mw_lib $mw_design_library check_library set_tlu_plus_files -max_tluplus $TLUPLUS_MAX_FILE \ -min_tluplus $TLUPLUS_MIN_FILE \ -tech2itf_map $MAP_FILE check_tlu_plus_files # Add any ICC-ILMs to the link library # If you are using ICC-ILMs in DC-WLM mode, you will need # to use Milkyway library setup in DC WLM mode as well. # In that case, remove the "if {[shell_is_in_topographical_mode]}" # to include this MW library setup in DC-WLM mode. foreach ICC_ILM_NAME ${ICC_ILM_HIER_DESIGNS} { lappend link_library ${ICC_ILM_NAME}.ILM } } ################################################################################# # Library Modifications # # Apply library modifications here after the libraries are loaded. ################################################################################# # source dont_use.tcl}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -