Programmable Logic Device Bitstream Validation State Machine

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional programmable logic devices (PLDs) face issues with incomplete configuration validation, as they often halt the configuration process upon detecting errors, fail to check the CRC at the end of the bitstream if the CRC command is missing or garbled, and may not properly handle errors in the startup command, leading to potential incorrect device startup.

Innovation Solution

A method and device for validating a bitstream loaded into a programmable logic device, which includes loading a configuration bitstream with an error detection command, decoding the command, and using a state machine to ensure that all necessary checks are performed and signals are received within a predetermined time, allowing for automatic restart of the configuration process if errors are detected or if required signals are missing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional CRC and ID code checking is performed, then error detection capability is improved, but the configuration process halts on error and requires manual intervention

Engineering Contradiction:
Improveerror detection capabilityVSAvoidmanual intervention requirement
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system performs self-diagnosis and self-correction by automatically detecting configuration errors through CRC and ID code checking, then autonomously resetting and restarting the configuration process without requiring manual intervention. The programmable logic device monitors its own configuration state and initiates recovery actions independently.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system implements feedback mechanisms where the state machine continuously monitors configuration progress, detects errors through CRC validation and ID code comparison, and uses this feedback information to automatically trigger configuration resets and restarts, creating a closed-loop error handling system.

Inventive Principle:
Principle #23Feedback

2Measurement precision

If the configuration process halts on error detection, then measurement precision of configuration errors is improved, but productivity is reduced due to manual restart requirements

Engineering Contradiction:
Improveconfiguration error detection accuracyVSAvoidconfiguration loading efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system employs periodic action by automatically resetting and restarting the configuration process at regular intervals when errors are detected, rather than requiring manual intervention. This transforms a single-point error halt into a repetitive automatic recovery cycle that maintains both error detection precision and operational productivity.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The state machine is pre-programmed with error handling logic that automatically initiates configuration resets and restarts upon detecting CRC errors or ID code mismatches, performing the recovery action before manual intervention would be needed, thus maintaining continuous operation.

Inventive Principle:
Principle #10Preliminary action

3Device complexity

If CRC check command is missing or garbled, then device complexity is reduced, but reliability deteriorates as CRC is not checked

Engineering Contradiction:
Improveconfiguration protocol simplicityVSAvoidconfiguration validation accuracy
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The state machine is pre-configured with expected command sequences including the CRC check command. It performs preliminary validation by monitoring for the presence and correctness of expected commands, and takes preventive action by detecting missing or garbled CRC commands and triggering appropriate error handling before configuration completion, thus maintaining reliability without adding complex hardware.

Inventive Principle:
Principle #9Preliminary anti-action

4Ease of operation

If automatic restart of configuration process is implemented, then ease of operation is improved, but device complexity increases due to state machine control

Engineering Contradiction:
Improveautomatic error recoveryVSAvoidstate machine control logic
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The state machine serves multiple functions: it monitors configuration progress, validates CRC checks, compares ID codes, detects errors, and automatically initiates restarts. By consolidating these diverse functions into a single multi-functional control unit, the design achieves automatic error recovery without proportionally increasing overall device complexity.

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

Data Source

PatentUS7559011B1Circuit having a programmable circuit and method of validating a bitstream loaded into a programmable device
Publication Date: 2009.07.07 XILINX INC
  • US7559011B1 patent drawing
  • US7559011B1 patent drawing
  • US7559011B1 patent drawing

AI summary

A method of validating a bitstream loaded into a circuit having a programmable circuit is disclosed. According to one embodiment, the method comprises steps of loading a configuration bitstream comprising an error detection command at an input of the circuit; decoding the bitstream; providing a signal indicating that an error detection should be performed to a state machine when an error detection command has been decoded; and restarting the loading of the configuration bitstream if the signal has not been received. A device having a programmable circuit is also disclosed.