*** How does IC Compiler Find Files?
You may specify where to look for files:
lappend search_path ./design_data ../scripts lappend search_path [glob $MW_libs/*/LM]
the command lappend is used to “append” two paths to the current setting of search_path. Never use the command “set” to set this variable.
You can also use set instead of lappend to modify the search_path: set search_path \cripts“ set search_path \
Typically, the target_library points to your standard cells only,other cell librays such as used for SRMA or ROM are set in the link_path,for example: Set target_library “slow.db” Set link_library “* fast.db slow.db io_max.db ram32x32.db”
create library
By creating a design library!
create_mw_lib design_lib_orca -technology techfile.tf -mw_reference_library “sc io ram32” -open
You may also create the library first, then add the reference libraries afterwards: create_mw_lib design_lib_orca –technology techfile.tf
set_mw_lib_reference design_lib_orca –mw_reference_library \
If the “-open” switch is not used, the library needs to be opened in order to
import the design:
open_mw_lib design_lib_orca
saving and loading the design
? Once setup is complete, save the Milkyway design:
? By default, link_library, search_path, target_library and TLU+ settings are stored with the
CEL
? If library files change or move to somewhere else, the settings have to be
re-applied. See notes section below!
? When you re-open the CEL, by default the stored settings are not re-applied,
unless you set:
set auto_restore_mw_cel_lib_setup true open_mw_cel orca_init
Whether settings are stored with the MW library or not is controlled through the variable save_mw_cel_lib_setup. This variable is set to true by default.
When the logical libraries change, please follow this procedure: set auto_restore_mw_cel_lib_setup false set search_path \set link_library \set target_library \open_mw_cel
set_tlu_plus_files –max_tlu <> –min_tlu <> –tech2itf <>
the design library
Structure of a Design Milkyway Database
This library data structure or design database is called Milkyway. Milkyway实际就是一个数据库。
Summary
ICC recommended setup
# load common settings & useful procedures source ../ref/icc_settings.tcl lappend search_path ./scripts ../ref/sdb ../ref/db set symbol_library \ set link_library \set target_library \create_mw_lib design_lib_orca -open \\ -technology techfile.tf \\ -mw_reference_library \set mw_logic0_net \set mw_logic1_net \import_designs design.ddc \\ -format ddc \\ -top ORCA_TOP read_def –allow_physical design.def def是fp文件 save_mw_cel –overwrite或save_mw_cel -as ORCA_TOP # CEL saved as ORCA_TOP The example above reads a DDC file created by Design Compiler. The DDC file contains timing constraints already, therefore read_sdc was not used.
The following two variables are set by default by the tool. If logic 0/1 are connected to different supply names, settings must be changed. set mw_logic0_net “VSS” set mw_logic1_net “VDD”
If the settings are changed, you need to make sure that the variables are changed before you read the design into IC Compiler.
Note that import_designs has to be run after the design library has been created using create_mw_lib.
IC Compiler Three Initialization Files