创建spectre的port信息fillPort.il

;;; this script is used for fill the port name in the 'script' view of STDCell

procedure(fillPort()

let(( libId cellId cdfId )

inPort1 = infile( "/home/rhuang5579/work/AF54AFAT/Phy/lvs/CellName.txt" )

inPort2 = infile( "/home/rhuang5579/work/AF54AFAT/Phy/lvs/CellPort.txt" )

when( inPort1

for( cellNum 1 257

fscanf( inPort1 "%s" cellName )

gets( pinList inPort2 )

rexCompile( "\n" )

pinList = rexReplace( pinList "" 0 )

pinList = parseString( pinList )

cellId = ddGetObj( "csm18ic" CellName )

when( cdfId = cdfGetBaseCellCDF( cellId )

cdfDeleteCDF( cdfId )

);when

cdfId = cdfGetBaseCellCDF( cellId )

;;; Simulator Information

cdfId->simInfo = list( nil )

cdfId->simInfo->ams = '( nil )

cdfId->simInfo->auCdl = '( nil )

cdfId->simInfo->auLvs = '( nil )

cdfId->simInfo->cdsSpice = '( nil )

cdfId->simInfo->hspiceD = '( nil )

cdfId->simInfo->hspiceS = '( nil )

cdfId->simInfo->spectreS = '( nil )

cdfId->simInfo->spectre = '( nil )

putprop( cdfId->simInfo->spectre pinList 'termOrder )

;;; Properties

cdfId->formInitProc              = ""

cdfId->doneProc                  = ""

cdfId->buttonFieldWidth          = 340

cdfId->fieldHeight              = 35

cdfId->fieldWidth                = 350

cdfId->promptWidth              = 175

cdfSaveCDF( cdfId )

);for

);when

close( inPort1 )

close( inPort2 )

);let

procedure

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • NAME dnsmasq - A lightweight DHCP and caching DNS server....
    ximitc阅读 2,906评论 0 0
  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 9,811评论 0 23
  • 写完家乡小吃今天又不知道该写啥题材了。 心灵鸡汤,我不擅长。我不爱像心理培训师一样,给人分析原生家庭后天性格,然后...
    llccgao阅读 565评论 0 1
  • 澧水如蓝映武陵, 漫山溢翠洗尘清。 芙蓉化石而今在。 腊狗婴啼远古生。 屋后房前飞舞步, 地头田垄甩歌声...
    东林梁阅读 704评论 16 32
  • 乔燃看完后在下面评论了一句:你说得很有道理,希望越来越多的Omega能像你一样坚强。 乔燃发完之后关注了一下博主就...
    a398921e123d阅读 204评论 0 0