gaom9
Full Member level 4
Hi, I am trying to use DFT compiler to insert scan chain to the design, but there are some errors, and I can not find out the reason.
In this design, there are two clocks and I want to add 6 scan chains in it.
The errors are shown below.
Information: Starting test design rule checking. (TEST-222)
Loading test protocol
...basic checks...
...basic sequential cell checks...
...checking vector rules...
Error: illegal context (Procedure "multiclock_capture" is missing design clock "data_source" in clock parameters). (V8-1)
Error: illegal context (Procedure "allclock_capture" is missing design clock "data_source" in clock parameters). (V8-2)
Error: illegal context (Procedure "allclock_launch" is missing design clock "data_source" in clock parameters). (V8-3)
Error: illegal context (Procedure "allclock_launch_capture" is missing design clock "data_source" in clock parameters). (V8-4)
Error: miscounted items (Force clocks has 3 values instead of 4 in procedure "multiclock_capture"). (V10-1)
Error: miscounted items (Force clocks has 3 values instead of 4 in procedure "allclock_capture"). (V10-2)
Error: miscounted items (Force clocks has 3 values instead of 4 in procedure "allclock_launch"). (V10-3)
Error: miscounted items (Force clocks has 3 values instead of 4 in procedure "allclock_launch_capture"). (V10-4)
Error: Could not perform design rule checking. (TEST-1311)
0
The scripts for DFT is shown below.
Are there any mistake there, please?
#specify test components in preparation for creat_test_protocol
read_file -format ddc mapped/compile_top.ddc
create_port -direction "in" {Reset TEST_MODE}
set_dft_signal -view existing_dft -type ScanClock -timing {4.5 5.5} -port clk
set_dft_signal -view existing_dft -type ScanClock -timing {4.5 5.5} -port wb_clk_lower
set_dft_signal -view existing_dft -type Reset -active 0 -port Reset
set_dft_signal -view existing_dft -type Constant -active 1 -port TEST_MODE
set_scan_configuration -clock_mixing mix_clocks
set_scan_configuration -style multiplexed_flip_flop
set_scan_configuration -chain_count 6
#From the above spectifications, create the test protocal
create_test_protocol
#check the test-protocol
dft_drc
#write out the test protocol
write_test_protocol -output reports/protocol.spf
compile_ultra -num_cpus 4 -scan
#autofix
#set the signal to use
set_dft_configuration -fix_clock enable -fix_reset enable -fix_set enable
set_dft_signal -type TestMode -port TEST_MODE
set_dft_signal -type TestData -port clk
set_dft_signal -type TestData -port wb_clk_lower
set_dft_signal -type TestData -port Reset
#set the type to autofix
set_autofix_configuration -type clock -test_data clk -control_signal TEST_MODE
set_autofix_configuration -type clock -test_data wb_clk_lower -control_signal TEST_MODE
set_autofix_configuration -type set -test_data Reset -control_signal TEST_MODE
set_autofix_configuration -type reset -test_data Reset -control_signal TEST_MODE
preview_dft
insert_dft
dft_drc
report_scan_path -chain all
#finnal work
change_names -rule verilog -hierarchy
#check result
report_dft > reports/dft
report_scan_configuration > reports/scan_config
report_dft_signal -view existing_dft > reports/dft_signals
report_scan_path -view existing_dft -chain all > reports/scan_chains
report_scan_path -view existing_dft -cell all > reports/scan_cells
#hand off
set test_stil_netlist_format verilog
write -f verilog -h -o mapped/top.v
write_test_protocol -o mapped/top_SCAN.spf
#Save design
write -format ddc -hierarchy -output mapped/top.ddc
Thank you!
Best regards!
In this design, there are two clocks and I want to add 6 scan chains in it.
The errors are shown below.
Information: Starting test design rule checking. (TEST-222)
Loading test protocol
...basic checks...
...basic sequential cell checks...
...checking vector rules...
Error: illegal context (Procedure "multiclock_capture" is missing design clock "data_source" in clock parameters). (V8-1)
Error: illegal context (Procedure "allclock_capture" is missing design clock "data_source" in clock parameters). (V8-2)
Error: illegal context (Procedure "allclock_launch" is missing design clock "data_source" in clock parameters). (V8-3)
Error: illegal context (Procedure "allclock_launch_capture" is missing design clock "data_source" in clock parameters). (V8-4)
Error: miscounted items (Force clocks has 3 values instead of 4 in procedure "multiclock_capture"). (V10-1)
Error: miscounted items (Force clocks has 3 values instead of 4 in procedure "allclock_capture"). (V10-2)
Error: miscounted items (Force clocks has 3 values instead of 4 in procedure "allclock_launch"). (V10-3)
Error: miscounted items (Force clocks has 3 values instead of 4 in procedure "allclock_launch_capture"). (V10-4)
Error: Could not perform design rule checking. (TEST-1311)
0
The scripts for DFT is shown below.
Are there any mistake there, please?
#specify test components in preparation for creat_test_protocol
read_file -format ddc mapped/compile_top.ddc
create_port -direction "in" {Reset TEST_MODE}
set_dft_signal -view existing_dft -type ScanClock -timing {4.5 5.5} -port clk
set_dft_signal -view existing_dft -type ScanClock -timing {4.5 5.5} -port wb_clk_lower
set_dft_signal -view existing_dft -type Reset -active 0 -port Reset
set_dft_signal -view existing_dft -type Constant -active 1 -port TEST_MODE
set_scan_configuration -clock_mixing mix_clocks
set_scan_configuration -style multiplexed_flip_flop
set_scan_configuration -chain_count 6
#From the above spectifications, create the test protocal
create_test_protocol
#check the test-protocol
dft_drc
#write out the test protocol
write_test_protocol -output reports/protocol.spf
compile_ultra -num_cpus 4 -scan
#autofix
#set the signal to use
set_dft_configuration -fix_clock enable -fix_reset enable -fix_set enable
set_dft_signal -type TestMode -port TEST_MODE
set_dft_signal -type TestData -port clk
set_dft_signal -type TestData -port wb_clk_lower
set_dft_signal -type TestData -port Reset
#set the type to autofix
set_autofix_configuration -type clock -test_data clk -control_signal TEST_MODE
set_autofix_configuration -type clock -test_data wb_clk_lower -control_signal TEST_MODE
set_autofix_configuration -type set -test_data Reset -control_signal TEST_MODE
set_autofix_configuration -type reset -test_data Reset -control_signal TEST_MODE
preview_dft
insert_dft
dft_drc
report_scan_path -chain all
#finnal work
change_names -rule verilog -hierarchy
#check result
report_dft > reports/dft
report_scan_configuration > reports/scan_config
report_dft_signal -view existing_dft > reports/dft_signals
report_scan_path -view existing_dft -chain all > reports/scan_chains
report_scan_path -view existing_dft -cell all > reports/scan_cells
#hand off
set test_stil_netlist_format verilog
write -f verilog -h -o mapped/top.v
write_test_protocol -o mapped/top_SCAN.spf
#Save design
write -format ddc -hierarchy -output mapped/top.ddc
Thank you!
Best regards!