PDK工艺库安装总结

shell script列出环境变量cds.lib

DRC文件

shell script

shell script (application/x-shellscript) 参考:Shell 教程 Shell 是一个用 C 语言编写的程序,它是用户使用 Linux 的桥梁。Shell 既是一种命令语言,又是一种程序设计语言。 Shell 是指一种应用程序,这个应用程序提供了一个界面,用户通过这个界面访问操作系统内核的服务。 Ken Thompson 的 sh 是第一种 Unix Shell,Windows Explorer 是一个典型的图形界面 Shell。 Shell 脚本(shell script),是一种为 shell 编写的脚本程序。 业界所说的 shell 通常都是指 shell 脚本,但读者朋友要知道,shell 和 shell script 是两个不同的概念。 由于习惯的原因,简洁起见,本文出现的 “shell编程” 都是指 shell 脚本编程,不是指开发 shell 自身。

1、确认Linux 的 Shell 种类众多,常见的有:Bourne Again Shell(/bin/bash) ,由于易用和免费,Bash 在日常工作中被广泛使用。同时,Bash 也是大多数Linux 系统默认的 Shell。 2、CDS的电路图捕获,仿真,版图和验证 3、设置LISCENCE,减少检索时间 4、仿真入口 5、CDS中一些会被使用的变量:64位 对于一个cadence IC来说,他和一个工艺库建立连接的方式便是通过一个cds.lib的数据进行指引。所以cds.lib本质上来说,只是一个包含库路径的数据引导文本。 6、设置在系统路径之前。

#!/bin/bash -e

############################################################################

# Cadence Design Systmes

#

# Master IC CAD flow including schematic capture, simulation, layout,

# and verification.

############################################################################

export CADHOME=/EDA/cadence/

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

# Set up either CDS_LIC_FILE or LM_LICENSE_FILE, but not both or it'll

# take long time to search license.

#

# export CDS_LIC_FILE=port@hostname

# This varialbe should be consistent with the 1st line in the license.dat

# Run "hostname" or "uname -n" on terminal to get your hostname

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

export CDS_LIC_FILE=/EDA/cadence/IC616/share/license/license.dat

# Requied for Cadence on Linux

export LANG=C

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

# Cadence - IC

#

# IC Schematic Entry, Simulation, Layout, Verification (Diva)

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

export CDS=$CADHOME/IC616

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

# Some of these variables are used by various other tools.

# Set them to be safe

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

export CDSDIR=$CDS

export CDSHOME=$CDS

export CADENCE_DIR=$CDS

export CDS_INST_DIR=$CDS

# Set Spectre defauts and netlisting mode

#export SPECTRE_DEFAULTS=-E

export CDS_Netlisting_Mode=Analog

# This environment variable enables Spectre HB

export CDS_SPECTRERF_FBENABLE=1

# Turn on the Palette feature. LSW no longer works, but many new features available

#export CDS_USE_PALETTE

# Support for 64-bit executables (this should be set for 64-bit hosts)

export CDS_AUTO_64BIT=ALL

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

# Master IC PATH

#

# Set it before system PATH

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

export PAT

Linux export 命令用于设置或显示环境变量。

在 shell 中执行程序时,shell 会提供一组环境变量。export 可新增,修改或删除环境变量,供后续执行的程序使用。export 的效力仅限于该次登陆操作。

export [-fnp][变量名称]=[变量设置值]

参考:Linux export 命令

列出环境变量

# export -p //列出当前的环境变量值

declare -x HOME=“/root“

declare -x LANG=“zh_CN.UTF-8“

declare -x LANGUAGE=“zh_CN:zh“

declare -x LESSCLOSE=“/usr/bin/lesspipe %s %s“

declare -x LESSOPEN=“| /usr/bin/lesspipe %s“

declare -x LOGNAME=“root“

declare -x LS_COLORS=““

declare -x MAIL=“/var/mail/root“

declare -x OLDPWD

declare -x PATH=“/opt/toolchains/arm920t-eabi/bin:/opt/toolchains/arm920t-eabi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games“

declare -x PWD=“/root“

declare -x SHELL=“/bin/bash“

declare -x SHLVL=“1“

declare -x SPEECHD_PORT=“6560“

declare -x SSH_CLIENT=“192.168.1.65 1674 22“

declare -x SSH_CONNECTION=“192.168.1.65 1674 192.168.1.3 22“

declare -x SSH_TTY=“/dev/pts/2“

declare -x TERM=“XTERM“

declare -x USER=“root“

declare -x XDG_SESSION_COOKIE=“93b5d3d03e032c0cf892a4474bebda9f-1273864738.954257-340206484“

cds.lib

DEFINE csmc018g3 /EDA/PDK/csmc18_pdk/0.18um_1P6M_5V_9Track_High_Density_DB_SBCD_G3_Process_Core_Standardcell_Library_with_GDS-WDC-83L0NW(2)-0F07/CSMC018G3HD5VSBCD1P6Mlib_FB_V20F07/symbols/cadence/IC61/csmc018g3

DEFINE csmc018g3 /EDA/PDK/csmc18_pdk/CSMC018G3HD5VSBCD1P6Mlib_FB_V20F07/symbols/cadence/IC61/csmc018g3

csmc symbol库在08或者09文件夹,b开头的是已经装好的器件库。

DRC文件

drc文件要改路径,calibre放哪里啊,pdk还是IC616下面,是改这个文件里的路径,

官网给的工艺库只有M1,M2和TM三层金属

gvim

好文阅读

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。