參考網址 : http://larc.ee.nthu.edu.tw/~cthuang/doc/cbflow/
Setup environment, including adding path of cell libraries and creating a new library for your design.

  1. 為了避免新舊版環境設定的困擾, 我把我舊的的 $home/.cdsinit 移除. 新版的 .cdsinit 在系統的 /usr/cadence/tools/dfII/cdsuser/.cdsinit 位置, 請自行 copy 至 $home 底下, 這裡有一份 copy: .cdsinit
  2. 加入 Place&Route 所需的 cell libraries:
    啟動 icca
    在 CIW window 中
    -> tools
    -> library manager
    -> edit
    -> library path
    :加入兩個 library

=library

=path

{CIC06HP}

{/home/users/cic/CIC_CBKIT_V4/Opus/CIC06HP}

{CIC06IO}

{/home/users/cic/CIC_CBKIT_V4/Opus/CIC06IO}


  1. -> file
    -> save
    你可以檢查一下, working directory 會有一個 cds.lib 的文字設定檔. 偷懶的話也可以直接 copy 這個設好的 cds.lib 來用.
    • 如果設定後 libraries 只剩下 CIC06HP 與 CIC06IO, 原來有的都不見了, 那就有錯. 最快的解決方法就是直接 copy 設好的 cds.lib 來用.
  2. Create a new library:
    啟動 icca
    在 CIW window 中
    -> file
    -> new
    -> library
    =填妥 library name {chip} (註)
    =填妥 library path {/home/users/nobody/opus} :[check] attach to an existing techfile
    :[ok]
    :[choose] attach to technology library -> CIC06HP
  3. 在新版的 cadence 把 technology file 分為兩個檔案:

a. technology file (*.tf): 用來描述與製程以及CAD 軟體等等相關的資料.

b. display resource file (*.drf): 用來描述你的 layout 所表現的方式 (顏色, 花紋等等).

你可以在 cell library design kit 4.0 版中的 Opus 目錄下找到這兩個檔案 (CIC_CBKIT_V4/Opus/), 檔名分別是 CIC_CB06B.tf 以及 display.drf; 在我們使用的時候, 記得將 display.drf 放置在啟動 icfb 的目錄下.

  1. 當你新建一個 design library 時, 記得設好 gec3DBUPerUU 這個 property.
    The gec3DBUPerUU is a library property that defines the database unit of LEF and DEF files.
    原設定的方法寫在 cell library 的 README 中.
    To set the gec3DBUPerUU property:

. 在 CIW window 中
-> tools
-> library manager
:Click [middle mouse button] on your design library.
#When a pop-up menu appears,
-> Properties

a. :Click [Add] on the "Library Property Editor" form.
:Fill following on the "Add Property" form.

=Name

{gec3DBUPerUU}

=Type

{float}

=Value

{1000.0}

b. :Click [OK] on the "Add Property" form.
:Click [OK] on the "Library Property Editor" form.

註: 如果不設此 property, 可能無法做 IO placement.

  1. 如果你的環境變數有設 LM_LICENSE_FILE 或 CDS_LIC_FILE, 會造成 Silicon Ensemble 中 PR Engine Window 找不到 license file, 無法執行.
    你可以用
    unix% setenv | grep LM_LICENSE_FILE
    unix% setenv | grep CDS_LIC_FILE
    檢查, 如果發現有設定, 將他們移除
    unix% unsetenv LM_LICENSE_FILE
    unix% unsetenv CDS_LIC_FILE
    以實驗室為例, hspice 的設定中會有 LM_LICENSE_FILE 的環境變數. 所以執行 icca 或 icfb 前要先把它去掉, 可是我並不確定去掉了以後 hspice 仍然能正常運作. 這點要注意.
arrow
arrow
    全站熱搜

    daniel2peng 發表在 痞客邦 留言(0) 人氣()