Cadence Project Design Management(III): Project Setup Example

Cadence 有内部的项目管理和版本管理工具,即TDM,在设计的时候用上TDM工具可以方便的进行项目管理和电路/版图版本管理,最明显的好处就是可以通过版本管理追溯以前的修改,可以防止手贱改错了电路而又不知道如何恢复原状的问题。
以下是结合Cadence Project Design Management帮助文档摘录的TDM简易设置使用方法,分四个部分呈上,第三部分通过一个例子设置了一个简易可用的TDM环境,供大家参考。

Project Setup Example

Flow Chart of Setting Design Management Environment

This chart shows a typical flow for setting up and working in a TDM environment.
在这里插入图片描述
The Relationship Between Site, Project and Workare is as below Chart:
在这里插入图片描述

Accessing the Tools

To configure your environment so you can access the software, follow these steps:

  1. Use a text editor to add the following line to your .cshrc file:
    set path=(cdsinstallpath/tools/bin $path)
  2. Source your .cshrc file by typing the following:
    source ~/.cshrc
  3. Test the path by typing the following command in the UNIX window:
    tdmdbinfo

When the path is correct, the software returns the following message:

Team Design Manager data base info:
You must be in a Team Design Manager workarea to get
data base version information with this command.
The software version is x.x.xx.

Creating & Reference a Site Directory

To create a site directory, follow these steps:

  1. Create a site directory by typing the following:
    mkdir /net/machine/.../site_dir
  2. Change directories (cd) to the new site directory:
    cd /net/machine/.../site_dir
  3. Type the following command:
    tdmsitesetup
    The software creates a directory called TeamRoot in the current site directory:
    /net/machine/.../site_dir/TeamRoot
  4. Use a text editor to add the following information to your .cshrc file:
    setenv TWROOT /net/machine/.../site_dir/TeamRoot

Creating a Project

To create a Base Team Design Management project, follow these steps:

  1. Type the following command in the site directory you created:
    tdmmkproject -project mytest –location /net/machine/.../site_dir -basic
    The -basic option specifies a Base Team Design Management project.
    The software creates the following:
    – A Team Design Management project in your site directory. The project contains a directory called mytest.Fprj.
    – A directory called projects.Cata in $HOME. The projects.Cata directory contains a link to mytest.Fprj in your site directory.
  2. To confirmthe creation of the Base Team Design Management project, type the following command:
    ls /net/machine/.../site_dir
    The software displays the contents of your site directory, which in this example includes the TeamRoot and mytest.Fprj directories.

Creating a Workarea

To create a workarea, follow these steps:

  1. Change directories (cd) to the project directory:
    cd /net/machine/.../site_dir/mytest.Fprj
  2. Type the following command:
    tdmmkworkarea -workarea myworkarea
    The software creates the following:
    – A directory called myworkarea.Work in the following location:
    /net/machine/…/site_dir/mytest.Fprj/workAreas.Folder
    – A link to myworkarea.Work in your $HOME/workAreas.Cata directory

Importing Unmanaged Libraries

To bring unmanaged libraries or design files into your workarea, follow these steps:

  1. Change directories (cd) to your workarea by typing
    cd $HOME/workAreas.Cata/myworkarea.Work
    2.Type the following command:
    tdmimportcdslib -library /net/machine/.../path/myLib
    The tdmimportcdslib command does the following:
    – Copies myLib into your workarea
    – Checks in the design data
    – Defines myLib in the cds.lib file in your workarea
    – Automatically checks in the data to the project data repository
    – Sends you e-mail confirming the files created in myLib

Adding Reference Libraries

To reference existing libraries from other projects or from locations that are not part of a team design manager project, follow these steps:

  1. Change directories (cd) to the workarea by typing
    cd $HOME/workAreas.Cata/myworkarea.Work
  2. Type the following command:
    tdmlinkreflib -name refLib -librarypath /cdsinstallpath/path
    where refLib is the reference library and /cdsinstallpath/path is the full path to the reference library. Do not include the name of the reference library in the path.
    The software does the following:
    – Creates a link to the reference library
    – Sends an e-mail confirming the link to the reference library

Setting Up Multiple-User Projects

Anyone who is in the Project should Create his own Workarea and work in his own workarea:

  1. Change directories (cd) to the project directory:
    cd /net/machine/.../site_dir/mytest.Fprj
  2. Type the following command:
    tdmmkworkarea -workarea myworkarea
  3. Updating your Workarea using the following command:
    tdmupdate

Adding Updated Library to your cds.lib

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值