数字IC后端实现Innovus |给各种IP子模块添加port buffer和antenna diode万能脚本

我们之前分享过在hierarchical flow后端实现中为了确保顶层flatten时timing signoff和physical signoff看到的情况和模块级看到的情况一致,我们会在模块io port添加io port buffer(主要是timing,antenna一致性)。实际上在芯片级我们还会给各大子模块Block和IP的接口添加buffer。

数字IC后端设计实现 | PR工具中到底应该如何控制density和congestion?(ICC2&Innovus)

在一些数模混合设计中,为了考虑CDM问题,我们会在模块接口处添加Antenna 二极管,具体如下图所示。

为了防止CDM,我们需要对这个HDMI IP的所有端口添加antenna diode。如果IP内部已经添加过了则可以跳过。

数字IC后端设计如何从零基础快速入门?(内附数字IC后端学习视频)

在我们低功耗四核A7 Top项目中,我们也可以对各个cpu子模块接口添加io pin buffer。这样即便子模块a7core的lib文件不准确,在a7top顶层也不会看到跟子模块接口的长线了。

今天分享下每个项目都会用到的给各种Block添加buffer和antenna的万能脚本。这个又是一个练习脚本的好例子。

proc add_buffer_diode_on_block_pins {args} {

parse_proc_arguments -args a r g s o p t i o n s s e t b u f f e r c e l l " args options set buffer_cell " argsoptionssetbuffercell"options(-buffer)"

set diode_cell " o p t i o n s ( − d i o d e ) " s e t b u f f i l e " options(-diode)" set buf_file " options(−diode)"setbuffile"options(-buffer_eco_file)"

set diode_file " o p t i o n s ( − d i o d e e c o f i l e ) " s e t p r e f i x " options(-diode_eco_file)" set prefix " options(−diodeecofile)"setprefix"options(-prefix)"

set j 0

set file1 [open $buf_file w]

set file [open $diode_file w]

puts $file1 "setEcoMode -updateTiming false -refinePlace false"

puts $file1 "setEcoMode -batchMode true "

foreach pin [dbGet selected.instTerms] {

puts $file1 "ecoAddRepeater -cell $buffer_cell -term [dbGet $pin.name] -name KaTeX parse error: Expected group after '_' at position 13: {prefix}_BUF_̲j -loc [dbGet $pin.pt]"

puts $file "addInst -cell $diode_cell -inst KaTeX parse error: Expected group after '_' at position 15: {prefix}_DIODE_̲j -loc [lindex [dbGet $pin.pt] 0]"

set net [dbGet $pin.net.name]

puts $file "attachTerm KaTeX parse error: Expected group after '_' at position 15: {prefix}_DIODE_̲j MINUS $net"

incr j

}

puts $file1 "setEcoMode -batchMode false "

puts f i l e 1 " r e f i n e P l a c e − i n s t ∗ file1 "refinePlace -inst * file1"refinePlace−inst∗{prefix}**"
puts $file1 "dbSet [dbGet top.insts.name BLOCK_ISO* -p].pStatus fixed"
puts f i l e " r e f i n e P l a c e − i n s t ∗ file "refinePlace -inst * file"refinePlace−inst∗{prefix}* "
puts $file "dbSet [dbGet top.insts.name ${prefix}_
-p].pStatus fixed"

close $file

close $file1

puts "Created eco files $buf_file and $diode_file"

puts "you need to source these files to implement the ECO"

}

define_proc_arguments add_buffer_diode_on_block_pins

-info "Generate ECO files to add buffers and antenna diodes on the I/Os of the selected block\n"

-define_args {

{-buffer "Buffer libcell to be inserted" "none" string {required}}

{-diode "Diode libcell to be inserted" "none" string {required}}

{-buffer_eco_file "ECO file name for buffer insertion" "none" string {required}}

{-diode_eco_file "ECO file name for diode insertion" "none" string {required}}

{-prefix "Prefix to use for the inserted instances names" "none" string {required}}

}

return

###使用方法

add_buffer_diode_on_block_pins -buffer BUFFD3BWP40P140LVT -diode ANTENNABWP40P140LVT -buffer_eco_file buffer_eco.tcl -diode_eco_file diode_eco.tcl -prefix IP_ISOLATION

###读入上述脚本生成的添加buffer和添加antenna diode脚本

##source eco_buf.tcl

##source eco_diode.tcl

下图所示为添加好子模块cpu buffer的效果图。

【思考题】为何这个脚本在执行过程中会报如下所示的ERROR(IMPOPT-616)?

相关推荐
IC拓荒者17 小时前
Innovus中快速获取timing path逻辑深度的golden脚本
数字后端培训·innovus零基础入门·floorplan布局·timing path·逻辑深度脚本
杰出的胡兵1 个月前
景芯SOC设计实战
面试·职场和发展·soc·芯片·数字后端·数字ic后端·芯片设计全流程培训
IC拓荒者2 个月前
数字IC后端设计实现十大精华主题分享
数字ic后端·数字后端培训·calibre lvs·clock tree·clock gating时序·innovus案例
IC拓荒者2 个月前
芯片Tapeout power signoff 之IR Drop Redhawk Ploc文件格式及其意义
数字后端培训·ic后端培训·innovus零基础·io ring·pad ring·redhawk·ir drop
IC拓荒者2 个月前
数字IC后端设计实现篇之TSMC 12nm TCD cell(Dummy TCD Cell)应该怎么加?
数字ic后端·数字后端培训·tsmc12nm·dummy tcd·tcd工艺校准·数字后端零基础入门·a55 a72 cpu
IC拓荒者2 个月前
芯片级IO (Pad) Ring &IP Checklist
esd·数字ic后端·ic后端培训·innovus零基础·io ring·pad ring·checklist
IC拓荒者2 个月前
数字IC后端实现常见的physical only cell都有哪些?如何添加这些cell?
数字ic后端·数字后端培训·physical cell·latchup栓锁效应·endcap cell·boundary cell·ic后端设计实现
IC拓荒者3 个月前
华为海思2025届校招笔试面试经验分享
经验分享·华为·面试·数字ic后端·ic秋招·海思校招面经·校招笔试面试
IC拓荒者3 个月前
IC数字后端实现之大厂IC笔试真题(经典时序计算和时序分析题)
数字ic后端·静态时序分析·数字后端培训·ic后端笔试题·ic秋招笔试真题·芯原ic后端笔试·时序timing分析
IC拓荒者3 个月前
数字IC后端实现之PR工具中如何避免出现一倍filler的缝隙?
数字ic后端·placement·ic后端培训·innovus零基础lab·innovus零基础·spacing rule·innnovus place