Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Simulation verification system and method for interrupt controller of hard-core MCU

A simulation verification and controller technology, which is applied in the field of simulation verification system, can solve problems such as difficulty in covering interrupt source triggering, reducing verification efficiency, and difficulty in ensuring that the function of the interrupt controller module is correct, etc.

Active Publication Date: 2014-06-04
SHANGHAI HUAHONG INTEGRATED CIRCUIT
View PDF7 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current MCU design often uses purchased cores and self-designed peripherals for assembly, and the core may be a hard core or an encrypted core. At this time, it will not be possible to extract the interrupt controller module separately for verification
If you only manually write system-level verification test cases, the verification efficiency will be reduced, and it will be difficult to cover a large number of possible interrupt source triggers, so it is difficult to ensure that the function of the interrupt controller module is correct.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Simulation verification system and method for interrupt controller of hard-core MCU
  • Simulation verification system and method for interrupt controller of hard-core MCU

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In the actual application of hard-core MCU, interrupts are generated in various situations. Manually writing interrupt test cases can only configure interrupt registers for special applications, and then trigger interrupts under certain conditions, which will cause a lot of problems in simulation verification. Omission of possible conditions. The present invention uses a random method to simulate and verify the interrupt controller, which can reduce the workload of manually writing test cases and efficiently improve the coverage of simulation verification, so it is very necessary.

[0019] The random setting includes the random setting of each relevant interrupt register in the software test piece; the random setting of the hard-core MCU interrupt flag bit.

[0020] see figure 1 As shown, in one embodiment, the simulation verification system for the interrupt controller of the hard-core MCU includes: DUT (Design Under Test: design under test) module ( figure 1 The par...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a simulation verification system for an interrupt controller of a hard-core MCU. The simulation verification system comprises testing software and a simulation verification environment module. The testing software comprises a main program and an interrupt service routine. Value assignment is performed on a relevant interrupt register by the main program in a random mode, and the main program transmits interrupt register configuration, interrupt processing information and a software ready signal to the simulation verification environment module; the interrupt service routine records an interrupt mark number and an interrupt sequence; the simulation verification environment module produces interrupt setting information in a random mode and directly sets all interrupt flag bits in the simulation verification system; the testing software obtains the interrupt processing information in cooperation with the simulation verification environment module, and simulation verification of the interrupt controller is collaboratively completed under a certain flow control. The invention further discloses a simulation verification method for the interrupt controller of the hard-core MCU. According to the simulation verification system and method for the interrupt controller of the hard-core MCU, verification efficiency can be enhanced, the coverage rate can be increased, and reusability is quite high.

Description

technical field [0001] The invention relates to the field of SOC (system on chip) function verification, in particular to a simulation verification system for an interrupt controller of a hard-core MCU (Micro Control Unit micro control unit). The invention also relates to a simulation verification method for an interrupt controller of a hard-core MCU. Background technique [0002] The interrupt system is an important part of the MCU. The interrupt system is generally used for real-time control, automatic fault processing, and data transmission with peripheral devices. A complete interrupt process includes: the interrupt source is generated, the interrupt source makes an interrupt request to the MCU, the MCU suspends the current program and turns to respond to the interrupt request, processes the interrupt service program corresponding to the interrupt source, and returns from the interrupt. The MCU often contains multiple interrupt sources, and the interrupt controller is u...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/50
Inventor 唐旸杨宁昕陈磊
Owner SHANGHAI HUAHONG INTEGRATED CIRCUIT
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products