终于安装好了IC6151后,将如下代码加入
/* Check for MGC_HOME */
mgc_home = getShellEnvVar(“MGC_HOME”)
if( mgc_home!=nil && isReadable(mgc_home) then
load(strcat(mgc_home “/shared/pkgs/icv/tools/queryskl/calibre.skl”))
else
; MGC_HOME is not set correctly. Report the problem.
printf(“// Calibre Error: Environment variable “)
if( mgc_home==nil || mgc_home==”” then
printf(“MGC_HOME is not set.”);
else
if( !isDir(mgc_home) then
printf(“MGC_HOME does not point to a directory.”);
else
if( !isReadable(mgc_home) then
printf(“MGC_HOME points to an unreadable directory.”);
)
)
)
printf(” Calibre Skill Interface not loaded.n”)
)
printf(“END OF SITE CUSTOMIZATIONn”)
然后启动cadence后出现如下错误:
w *WARNING* defstruct: Redefining Structure _mgc_eview_globals. o function make__mgc_eview_globals redefined o function copy__mgc_eview_globals redefined o function mgc_eview_cleanup_master_tables redefined o function mgc_eview_set_master_cellview redefined o function mgc_eview_get_master_cellview redefined o function mgc_eview_get_master_pins redefined o function mgc_eview_get_master_propmap redefined o function mgc_eview_get_master_pinmap redefined o function mgc_eview_reset_master_pinmap redefined o function mgc_eview_init_parasitic_tables redefined o function mgc_eview_init_exceptions redefined o function mgc_eview_note redefined o function mgc_eview_warning redefined o function mgc_eview_error redefined o function mgc_eview_show_completion redefined
等等。
我猜测是因为在.cdsinit文件中多了几个语句造成load重复了,所以将以下语句注释掉:
if( isFile( "./.cdsinit" ) then printf( "Loading ./.cdsinit init file from the site init file.n" ) loadi( "./.cdsinit" ) else if( isFile( "~/.cdsinit" ) then printf( "Loading $HOME/.cdsinit init file from the site init file.n" ) loadi( "~/.cdsinit" ) ) )
发表回复