2024.7.31 Spyglass dft tcl 及sgdc使用总结

2024.7.31 Spyglass dft tcl 及sgdc使用总结

spyglass dft tcl使用

1、新建工程

new_project design_name_dft -force

current_methodology $::SPYGLASS_HOME/GuideWare/lastest/block/rtl_handoff/dft

2、set option 和环境变量

set_option enableSV 1
set_option enableSV09 yes
set_option allow_non_lrm yes

set design_path       $env(design_path)
set common            $env(common )
set sram_wrapper      $env(sram_wrapper)
set design_spyglass   $env(design_spyglass)

3、读取设计文件

read_file -type sourcelist ${design_path}/src/syn.f

4、读取lib文件

read_file -type gateslib ${sram_wrapper}/libs/rom/lib/*.lib
read_file -type gateslib /libs/TSMC/T28_GL/consumer/IP/standardcell/*hvt/*.lib

5、读取sgdc

read_file -type sgdc ./design_name.sgdc

6、运行dft

current dft_scan_ready -top design_top

run_goal
save_project
gui_start

dft sgdc约束文件怎么约束

1、

current_design design_top

2、约束test_clock,这里是插入OCC的地方或者直接test_clock输入,以下为示例

clock -name “test_clock” -testclock
clock -name design*.u_dont_apbclk_100m_occ_buf.Z -testclock

2、no_scan约束,主要为不进scan chain的module或者reg

no_scan -name "u_*.clk_div_inst"
no_scan -name "u_*.reg"

3、约束test mode

current_design design_top
test_mode -name scan_mode -value 1
test_mode -name mbist_mode -value 1
test_mode -name "u_*.u_dont*.u_dont.TE" -value 1

test_mode -name scan_reset_n -value 1 -scanshift
test_mode -name por_rst_n -value 1 -scanshift
  • 5
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值