Enhancing Testability in Large SoC Designs with Automated DFT Support in IDS
Vikash Gupta
The Challenge
As IP and SoC designs continue to grow in size and complexity, ensuring testability has become a critical requirement. Without proper Design for Testability (DFT), detecting faults in silicon becomes difficult, leading to increased debugging effort, higher validation costs, and potential delays in time-to-market.
Traditional approaches often require manual insertion of test structures or post-processing using external DFT tools. This can result in large ATPG vector counts, complex logic structures, and limited visibility into internal behavior—making debugging and validation more challenging.
The Solution: Built-in DFT Support in IDS
IDesignSpec (IDS) addresses these challenges by integrating DFT-aware logic generation directly into the RTL creation flow.
Instead of treating testability as a separate step, IDS enables designers to incorporate DFT features at the specification level, ensuring that the generated RTL is inherently test-friendly.
With this enhancement, users can define observe points and control points directly in the register specification, allowing better control and visibility during testing.
Why DFT Matters in Electronic Systems
DFT plays a crucial role in ensuring the reliability and manufacturability of semiconductor devices:
Improves fault detection during manufacturing testing
Reduces ATPG complexity and vector count, lowering test cost
Enhances observability and controllability of internal signals
Simplifies debugging of silicon failures
Enables faster and more efficient validation cycles
By embedding DFT early in the design flow, teams can avoid costly iterations later in the development cycle.
Key Capabilities in IDS DFT Support
IDS introduces a flexible and scalable approach to DFT through specification-driven control:
1. Grouping of Logic for Better Scalability
Large logic structures (such as read data, address decoding, error signals, and clock enables) can be divided into smaller groups
Reduces fan-in complexity and improves timing and testability
2. Observe Points for Improved Visibility
Enables designers to monitor internal logic behavior during testing
Provides better insight into signal propagation and fault conditions
3. Control Points for Enhanced Controllability
Allows selective activation of logic paths during test mode
Improves fault coverage and test efficiency
4. TEST_MODE Integration
Automatically introduces test control signals into the RTL
Enables seamless switching between functional and test modes
Specification-Driven DFT Configuration
All DFT features are controlled through simple properties in the register specification, such as:
Grouping properties for read data, address decode, error signals, and clock enables
Observe point definitions for improved signal visibility
Control point configurations for selective logic activation
This approach ensures:
No manual RTL modification
Consistent implementation across the design
Easy scalability for large register banks
DFT is supported related logic for the following areas of the RTL:
Read back rd_data
Decode address
Dft apb widget
Error signal
Clock enable
The basic idea is to let the user create a group for the cone of logic based on the value of a property.
Additional circuitry will be added if and only if certain properties are set in the input Register Map specification.
A TEST_MODE pin will be added to the RTL module as a result of any of these properties being set.
To support the above feature, we have introduced the following properties:
dft_group_rd_data
Groups the rd_data signals of all components in the block based on the specified property value.
dft_observe_rd_data
Creates observe points by grouping rd_data signals of all components in the block according to the property value.
dft_group_address_decode
Divides the address-decode logic into multiple groups based on the property value.
dft_group_error_signal
Groups error signals into invalid-address errors and register-access errors, based on the property value.
dft_observe_error_signal
Defines observe points for error signals, with separate observer for register errors and empty address errors, based on the value.
dft_group_clock_en
Groups clock-gating in_enb) signals according to the property value.
dft_group_address
Groups address decodes under control points; when enabled, the comparator uses dft_address instead of the bus logic address.
Read back rd_data diagram
Example:
INPUT RDL:
property dft_group_rd_data {type=number;component=addrmap;};
Property dft_observe_rd_data {type=number;component=addrmap;};
addrmap block1{
dft_group_rd_data=2;
dft_observe_rd_data=2;
reg reg0{
field {
sw=rw;
hw=rw;
}f1[31:0];
};
reg reg1{
field {
sw=rw;
hw=rw;
}f1[31:0];
};
reg reg2{
field {
sw=rw;
hw=rw;
}f1[31:0];
};
reg reg3{
field {
sw=rw;
hw=rw;
}f1[31:0];
};
reg0 reg0;
reg1 reg1;
reg2 reg2;
reg3 reg3;
};
Generated RTL
. . .
. .
input test_mode,
input test_clk,
wire dft_cp_rb_0, dft_cp_rb_1;
wire [bus_width-1 : 0] dft_op_rb_0, dft_op_rb_1;
wire [bus_width-1 : 0] group_dft_cp_rb_0, group_dft_cp_rb_1;
dft_cp_ff_1 dft_cp_rb_0_inst (.clk(test_clk),.tp_en(test_mode),.reset(presetn),.q_out(dft_cp_rb_0));
dft_cp_ff_1 dft_cp_rb_1_inst (.clk(test_clk),.tp_en(test_mode),.reset(presetn),.q_out(dft_cp_rb_1));
dft_op_ff #(.bus_width(bus_width)) dft_op_rb_0_inst (.clk(test_clk),.tp_en(test_mode),.op_tap(dft_op_rb_0),.q_out());
dft_op_ff #(.bus_width(bus_width)) dft_op_rb_1_inst (.clk(test_clk),.tp_en(test_mode),.op_tap(dft_op_rb_1),q_out());
assign dft_op_rb_0 = reg0_rd_data | reg1_rd_data ;
assign dft_op_rb_1 = reg2_rd_data | reg3_rd_data ;
assign group_dft_cp_rb_0 = {32{dft_cp_rb_0}};
assign group_dft_cp_rb_1 = {32{dft_cp_rb_1}};
assign rd_data_vld = rd_stb;
assign rd_data = (group_dft_cp_rb_0 & (reg0_rd_data |
reg1_rd_data )) |
(group_dft_cp_rb_1 & (reg2_rd_data |
reg3_rd_data ));
. . .
. .
The Impact
By integrating DFT into the RTL generation flow, IDS delivers several key benefits:
Reduces reliance on external DFT insertion and manual effort
Improves test coverage and reduces ATPG vector complexity
Simplifies debugging of large and complex designs
Enhances scalability for large register banks
Provides better control and visibility into internal logic
Conclusion
Built-in DFT support in IDesignSpec brings testability directly into the specification-driven design flow.
By enabling grouping, observability, and controllability at the specification level, IDS allows teams to design more testable, scalable, and efficient systems—without adding complexity to the RTL.
This results in improved validation efficiency, reduced cost, and faster time-to-market for modern semiconductor designs.