Scan Logic for Mixed Latch Flip-Flop Circuits

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Testing circuits with a mix of latches and flip-flops is challenging due to differences in their sensitivity and operation, leading to inefficient test coverage and debugging difficulties, especially when phased clocks are used, causing multiple latches to be loaded with the same data and making it hard to control test vectors effectively.

Innovation Solution

A system that interleaves flip-flops with latches and uses multiplexers to propagate scan data, allowing scan logic to control the loading of test data into both flip-flops and latches, enabling separate clock signals and enable signals for efficient testing, and utilizing flip-flops as lock-up latches to assist latches in shifting and capturing data with minimal overhead.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If latches are used in the circuit, then area is reduced and timing is improved, but testability deteriorates due to level-sensitive operation and difficulty in controlling test vectors

Engineering Contradiction:
ImprovetestabilityVSAvoidtest coverage
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

A scan chain is introduced as an intermediary structure to control and propagate test vectors through the circuit. The scan chain includes scan latches and scan flip-flops that mediate the testing process, allowing sequential loading of test vectors and controlled propagation through the circuit under test, thereby improving testability while maintaining the benefits of level-sensitive latches in the main circuit path

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If phased clocks are used to control latches, then timing control is improved, but multiple latches are loaded with the same data making it hard to control test vectors

Engineering Contradiction:
Improvecontrol of test vectorsVSAvoidtesting time
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The testing process is segmented into distinct phases: loading test vectors into the scan chain, propagating them through the circuit under test, capturing results, and shifting out the scan chain. This segmentation allows independent control of each phase, preventing the problem where multiple latches are loaded with the same data simultaneously. Each latch in the scan chain can be controlled independently through the scan enable signal, improving ease of operation while maintaining efficient testing time

Inventive Principle:
Principle #1Segmentation

3Adaptability or versatility

If latches and flip-flops are mixed in the circuit, then functionality is improved, but device complexity increases due to different sensitivity requirements

Engineering Contradiction:
Improvecircuit functionalityVSAvoidscan logic complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The scan chain is designed with universal multiplexers that can interface with both latches and flip-flops. These multiplexers can be configured to work with level-sensitive latches or edge-triggered flip-flops, providing a universal interface for the scan logic. This multi-functionality allows the same scan logic to control mixed latch and flip-flop circuits without requiring separate control mechanisms for each element type, thereby improving circuit functionality while limiting the increase in scan logic complexity

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11017135B2Scan logic for circuit designs with latches and flip-flops
Publication Date: 2021.05.25 MICROCHIP TECHNOLOGY INC
  • US11017135B2 patent drawing
  • US11017135B2 patent drawing
  • US11017135B2 patent drawing

AI summary

Embodiments of the present disclosure may include a system for scanning a circuit, the embodiments including flip-flops, latches interleaved between the flip-flops, multiplexers configured to propagate scan data between the flip-flops and latches, and scan logic configured to control the multiplexers to load test data into the flip-flops and latches. A first pair of latches are interleaved between a first pair of flip-flops.