在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
12
返回列表 发新帖
楼主: helte320

DFT 中set_autofix_configuration命令不对,希望高手指点原因 (复 代码)

[复制链接]
发表于 2011-6-30 21:20:15 | 显示全部楼层
#################################################################
# Synopsys DC script
#################################################################
set design_top          [getenv DESIGN_TOP]
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# DC setup
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
source library_setup.tcl
source common_setup.tcl

#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Analyze & elaborate RTL source
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
read_file -format verilog ./dfttest.v
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Link design
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
link

#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Check design
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
check_design

#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Apply constraints
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
set auto_wire_load_selection true
#set_max_area 1500000
set_max_fanout 16 [get_designs *]
set_max_capacitance 2 [get_designs *]
set_load 0.1  [get_nets * ]
set_load 50   [all_outputs]
set bind_unused_hierarchical_pins true
   current_design dfttest
  create_clock -name "Fun_CLK" -period 20 -waveform { 0.000 10.000  }  { clk  }
   set_dont_touch_network clk

#******************************* insert scan **************************************
compile
set_scan_configuration -style multiplexed_flip_flop
set_scan_configuration -clock_mixing no_mix
set_scan_configuration -internal_clocks single
set_dft_signal -view spec -type scanenable -active 1 -port SCAN_ENA
set_dft_signal -view spec -type testmode -active 1 -port SCAN_TEST
set_dft_signal -view existing_dft -type TestMode    -port SCAN_TEST  -active_state 1
set_dft_signal -view existing_dft -type Reset       -port reset      -active_state 0
set_dft_signal -view existing_dft -type ScanClock   -port SCAN_CLK   -timing {45 55}
set_dft_signal -view existing_dft -type ScanEnable  -port SCAN_ENA   -active_state 1
set_dft_signal -view spec         -type ScanDataIn  -port PIN_SI
set_dft_signal -view spec         -type ScanDataOut -port PIN_SO     
set_scan_configuration -chain_count 1
set_scan_path -view spec c0 -scan_data_in PIN_SI -scan_data_out PIN_SO


#set_autofix_configuration -type clock -control_signal SCAN_TEST -test_data PIN_SI
#set_autofix_configuration -type reset -control_signal SCAN_TEST -test_data PIN_SO
#compile -scan

create_test_protocol
# -capture_procedure multi_clock
preview_dft
insert_dft
report_constraint -all_violators
report_scan_path
dft_drc -verbose -coverage_estimate
write_test_protocol -output dfttest.spf
#*********************** * end insert scan  *****************************
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Uniquify
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
uniquify

#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Pass0 compile
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
compile_ultra

#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Report timing & area
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
report_cons -all_vio   
report_timing -max 100
report_area            
report_area -hierarchy

#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Write out netlist
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
change_names -rules verilog -hier
write -f verilog -hier -o $design_top.vn
write -f ddc -hier -o $design_top.ddc
发表于 2011-6-30 21:29:19 | 显示全部楼层
上面跑过可以用。
发表于 2014-3-11 11:04:13 | 显示全部楼层
回复 9# xiaocanmeng

87M@R@FNO`98J8P6VB{~M.jpg
请问一下,那这里面的test_data是自己要重新定义的的端口信号吗?
发表于 2014-4-1 17:21:09 | 显示全部楼层
回复 6# cangyufan


    你好,set_autofix_configuration -testdata 后面是不是需要一个clock信号,而且该clock信号必需首先使用set_dft_signal -type scanclock 定义?本人不确定,请指教。
发表于 2016-1-24 17:40:43 | 显示全部楼层
thank you for good info
发表于 2018-12-31 14:29:48 | 显示全部楼层
看看脚本
发表于 2020-1-15 11:21:29 | 显示全部楼层
mark......
发表于 2020-8-28 10:29:03 | 显示全部楼层
这里的控制信号应该是TEST_MODE的端口名,而不是类型名
发表于 2020-11-3 17:50:32 | 显示全部楼层
不需要autofix了吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-5-20 09:49 , Processed in 0.038162 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表