Interface Sniffer and Simulator for SoC Debugging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Debugging System-on-Chip (SoC) hardware and firmware on Field-Programmable Gate Arrays (FPGA) is time-consuming and inefficient due to limited FPGA capacity, making it difficult to identify hardware or firmware issues without significant resource allocation, which reduces available space for actual circuitry and increases costs.

Innovation Solution

Implementing interface sniffers to capture and process transactions on SoC interfaces, coupled with a simulator and reference model to reproduce internal states and outputs, allowing for accelerated debugging without a substantial increase in FPGA capacity by synchronizing and analyzing transactions in a simulation environment.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional debugging methods are used on FPGA, then hardware and firmware issues can be identified, but debugging time is excessive and FPGA capacity is significantly consumed

Engineering Contradiction:
Improvedebugging accuracyVSAvoiddebugging time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by capturing and storing interface transactions during normal hardware operation before debugging is needed. These captured transactions are then reused in the simulation environment to reproduce internal states, eliminating the need for time-consuming real-time debugging while maintaining accurate bug identification

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a copy of the hardware's internal state by using captured interface transactions to drive a simulation model that replicates the hardware's behavior. This virtual copy allows debugging without consuming actual FPGA resources or requiring extended debugging sessions

Inventive Principle:
Principle #26Copying

2Measurement precision

If traditional debugging methods are used on FPGA, then hardware and firmware issues can be identified, but FPGA capacity is significantly consumed reducing space for actual circuitry

Engineering Contradiction:
Improvedebugging accuracyVSAvoidFPGA capacity consumption
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent creates a copy of the hardware's internal state by using captured interface transactions to drive a simulation model that replicates the hardware's behavior. This virtual copy allows debugging without consuming actual FPGA resources or requiring extended debugging sessions

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent extracts the debugging function from the physical FPGA hardware and relocates it to a separate simulation environment. By capturing transactions during hardware operation and replaying them in simulation, the debugging capability is separated from the FPGA, freeing up FPGA capacity for actual circuitry implementation

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If interface sniffers and simulation environment are used, then debugging speed is significantly improved, but system complexity increases

Engineering Contradiction:
Improvedebugging speedVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces an interface sniffer as an intermediary component that captures transactions between the hardware and external devices. This sniffer acts as a mediator, recording interface activity without disrupting normal operation, and provides the data needed for subsequent simulation-based debugging, thereby accelerating the debugging process

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20210124810A1Method of debugging hardware and firmware of data storage
Publication Date: 2021.04.29 SK HYNIX INC
  • US20210124810A1 patent drawing
  • US20210124810A1 patent drawing
  • US20210124810A1 patent drawing

AI summary

Disclosed is a method of hardware and firmware debugging. The method includes coupling an interface sniffer to an interface of the hardware component on which firmware is running such that the interface sniffer captures a transaction on the interface that is associated with the hardware component, coupling, to the interface sniffer, a simulator including a reference model to receive the captured transaction by the simulator such that the captured transaction affects the reference model, and causing the internal state of the hardware component to be reproduced in the simulator based on the reference model affected by the captured transaction.