cadence IC5 install under ubuntu 6.06. cadence IC50 安装总结,在ubuntu6.06下.

本文提供了解决Cadence软件在特定Linux环境下安装遇到的问题的方法,包括修改源代码、配置环境变量及安装必要库等步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

First, if your tar version is 1.5, change it to 1.4. 1.5 seems have a bug and can not operate properly.
execute SETUP.SH
exit when asked if to run softload
go to the install directory and find the following file:
modify io_fltr.c
    line 33 add: #include <errno.h>, also add #include <stdlib.h> at the file top
    line 54 add: #define lnx86
    line 68 change: "/bin/uncompress -c"
modify process_file.c
    line 511: change 1280 to 10000
gcc -o io_fltr io_fltr.c
gcc -o process_file process_file.c
modify vld:
    line 424 & 425: delete +2 -3
then do the following step:
./softload
(1) load available products
(1) local
(2) other
don't view readme file
(4) cadence catalog
(a) all of the above
(2) list installed products
(3) linux operating system(lnx86)
(q)

copy license.dat to cdsroot/share/license/
ln -s tools.lnx86 tools
you need the following environment variable:
CDSDIR=
CDS_ROOT=
CDS_INST_DIR=
# the above three is the root directory of cadence
CDS_INSTALL_DIR=root_of_cds/tools/dfII
export CDS_LIC_FILE=(the path to license)
export PATH=$CDS_ROOT/TOOLS/BIN:$CDS_INSTALL_DIR/BIN:$CDS_ROOT/TOOLS/SPECTRE/BIN:$PATH

copy everything under /tools/dfII/sample/local to /tools/dfII/local
change cdsinit to .cdsinit

sudo apt-get install libstdc++2.10-glibc2.2
you also need the following environment variable:
export LD_ASSUME_KERNEL=2.4.21
do this under your /usr/lib:
sudo ln -sf libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2
libcwait.c file is:
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/wait.h>
pid_t
__libc_wait (int *status)
{
    int res;
    asm volatile ("pushl %%ebx/n/t"
            "movl %2, %%ebx/n/t"
            "movl %1, %%eax/n/t"
            "int $0x80/n/t"
            "popl %%ebx"
            : "=a" (res)
            : "i" (__NR_wait4), "0" (WAIT_ANY), "c" (status), "d" (0),
            "S" (0));
    return res;
}
compile the file using the following command:
gcc -shared -o libcwait.so -fpic -O2 libcwait.c (NOTICE: "O" is not zero but letter o of upper case)
use also need this environment variable:
export LD_PRELOAD=/usr/lib/my/libcwait.so
(libcwait.so is generated by the previous command.
you'd better export LANG=POSIX to avoid some fonts problems when using cadence.
type icfb& in a terminal
then, enjoy ...
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值