# US 2022/0292248 A1 · Method, system and verifying platform for system on chip verification

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0292248 A1
- Document ID: US20220292248A1
- Status: Published application
- Kind: A1
- Application number: 17/500,768
- Filed: 2021-10-13
- Published: 2022-09-15
- Earliest claimed: 2021-03-11
- Assignees: Black Sesame Technologies Inc.
- Applicants: Black Sesame Technologies Inc.
- Inventors: Junwei Yang; Wei Cai; Maosheng Xue
- Web page: https://patentgrep.com/patent/US20220292248A1

## CPC

- G06F 30/398: Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM] (optical proximity correction [OPC] design processes G03F1/36)
- G06F 30/3308: using simulation
- G06F 2111/20: Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules
- G06F 2115/02: System on chip [SoC] design
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for system-on-chip (SoC) verification is disclosed. The method includes: establishing a component library including at least an interface protocol component, a bus protocol component and a verification component for the SoC; creating a control file according to a verification requirement; establishing a software library for each processor of the SoC to run according to the verification requirement, and establishing an excitation library for corresponding components in the component library; establishing a script library including multiple script files based on the verification requirement and the control file; parsing, by the script, the control file of the verification platform to obtain control parameters of the verification platform when a verification scenario is determined; selecting a required component from the component library and selecting a required excitation from the excitation library to generate the verification platform according to the control parameters; and verifying the SoC by the verification platform.

## Claims

### Claim 1

A method for system-on-chip (SoC) verification, comprising:
establishing a component library comprising at least an interface protocol component, a bus protocol component and a verification component for the SoC;
creating a control file according to a verification requirement, wherein the control file is used for controlling a verification platform for verifying the SoC, and the control file comprises control parameters;
establishing a software library for each processor of the SoC to run according to the verification requirement of the SoC, and establishing an excitation library for corresponding components in the component library; wherein the software library comprises at least an execution software of each processor, and the excitation library comprises at least a generator for issuing an excitation of each universal interface protocol;
establishing a script library comprising a plurality of script files based on the verification requirement and the control file; wherein the script library comprises a verification platform control file parsing script;
parsing, by the script, the control file of the verification platform to obtain control parameters of the verification platform when a verification scenario is determined;
selecting a required component from the component library and selecting a required excitation from the excitation library to generate the verification platform according to the control parameters; and
verifying the SoC by the verification platform.

### Claim 2 (depends on 1)

The method of claim 1, wherein the script library further comprises a verification environment generation script, a call register model generation script, a simulation script, a regression script and a register generation script.

### Claim 3 (depends on 2)

The method of claim 2, wherein the step of selecting a required component from the component library and selecting a required excitation from the excitation library to generate the verification platform according to the control parameters further comprises:
obtaining, by the simulation script, a configuration of buses and interfaces of the verification platform, and generating a corresponding configuration file of a bus interface model according to the parameters of each interface mounted on the system bus in the SoC; and
configuring a specific processor or interface as a corresponding processor or interface according to the configuration file of the bus interface model for simulation when the specific processor or interface of the processors of the SoC is simulated; and replacing remaining processors or remaining interfaces with bus models to avoid a participation of the remaining processors or the remaining interfaces in the simulation.

### Claim 4 (depends on 3)

The method of claim 3, wherein the step of selecting a required component from the component library and selecting a required excitation from the excitation library to generate the verification platform according to the control parameters further comprises:
obtaining, by the verification environment generation script, configuration parameters of the verification platform, selecting required verification components and interface components from the component library, and generating a basic framework of the verification platform;
reading, by the call register model generation script, a register file in a configuration file of the platform to generate a register model code and corresponding adaptive components;
generating a top layer of the verification environment according to a connection relationship of the components in the configuration of the verification platform; and
generating a configuration file of the verification environment according to the parameters of the verification platform, so as to control all the configuration parameters of the verification environment.

### Claim 5 (depends on 1)

The method of claim 1, wherein the method further comprises:
defining a format of the control file of the verification platform before creating the control file of the verification platform for verifying the SoC.

### Claim 6

A verification system for a system on chip (SoC) verification, comprising:
a first generation unit, configured to establish a component library comprising at least an interface protocol component, a bus protocol component, and a verification component for the SoC;
a second generation unit, configured to create a control file for controlling a verification platform for verifying the SoC according to a verification requirement; wherein the control file comprises control parameters;
a third generation unit, configured to establish a software library for each processor of the SoC to run according to the verification requirement of the SoC, and establish an excitation library for corresponding components in the component library; wherein the software library comprises at least an execution software of each processor, and the excitation library comprises at least a generator for issuing an excitation of each universal interface protocol;
a fourth unit, configured to establish a script library comprising a plurality of script files based on the verification requirement and the control file; wherein the script library comprises a verification platform control file parsing script;
a fifth unit, configured to parse, by the script, the control file of the verification platform to obtain control parameters of the verification platform when a verification scenario is determined, and
a sixth unit, configured to select a required component from the component library and select a required excitation from the excitation library to generate the verification platform according to the control parameters.

### Claim 7 (depends on 6)

The system of claim 6, wherein the script library further comprises a verification environment generation script, a call register model generation script, a simulation script, a regression script and a register generation script.

### Claim 8 (depends on 7)

The system of claim 7, wherein the sixth unit is further configured to:
obtain, by the simulation script, a configuration of buses and interfaces of the verification platform, and generate a corresponding configuration file of the bus interface model according to the parameters of each interface mounted on the system bus in the SoC; and
configure a specific processor or interface as a corresponding processor or interface according to the configuration file of the bus interface model for simulation when the specific processor or interface of the processors of SoC is simulated; and replace remaining processors or remaining interfaces with bus models to avoid a participation of the remaining processors or the remaining interfaces in the simulation.

### Claim 9 (depends on 1)

A controller, comprising processors and memories, wherein instructions are stored in the memories, and when the instructions are executed by the processors, the method for SoC verification of claim 1 is implemented.

### Claim 10

A verification platform for system on chip (SoC) verification, wherein, the verification platform is configured as an internal architecture according to the SoC to be verified, and when a specific processor or interface of processors of the SoC is to be simulated, the specific processor or interface is configured as a corresponding processor or interface for simulation, while the remaining processors or the remaining interfaces are replaced with bus models to avoid a participation in the simulation.
