1 / 16

Presenter: Chien-Chih Chen

National Sun Yat-sen University Embedded System Laboratory Exception Handling in Microprocessors Using Assertion Libraries. Presenter: Chien-Chih Chen. Research Tree. An Assertion Library for On-Chip White-Box Verification at Run-Time.

trey
Télécharger la présentation

Presenter: Chien-Chih Chen

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. National Sun Yat-sen University Embedded System LaboratoryException Handling in Microprocessors Using Assertion Libraries Presenter: Chien-Chih Chen

  2. Research Tree An Assertion Library for On-Chip White-Box Verification at Run-Time The Chip is Ready. Am I done? On-chip Verification using Assertion Processors Exception Handling in Microprocessors Using Assertion Libraries On-Chip Verification of NoCs Using Assertion Processors

  3. Abstract • In complex System-on-a-Chip (SoC) designs, designers often need to add new features into an original processor core, such as to extend the exception handling mechanism to consider exceptions in the remaining portion of the SoC design. We present in this paper a scalable architecture that can be used to add complex exception handling mechanisms in processor cores and how it can be used to extend the fixed set of exceptions found in microprocessor cores. This mechanism is based on the use of assertion libraries linked by an assertion processor to incorporate these new functionalities.

  4. What’s Problem • To observe designed bugs is difficult in complex original microprocessor designs. • It is inefficient to design exception handling for each module in microprocessor if there are no original designers support.

  5. Related Work [5] [7] [8] [9] White-Box Verification Approach [10] Typical OVL Assertion & Scan-Chain Architecture [13] On-Chip Verification Using Assertion Processor Extend [13] Architecture to Handle Exceptions of Microprocessor Core

  6. OVL Assertion of Scan-Chain Architecture

  7. Assertion Processor • Scan the assertion chain to detect which assertion has cause failure. • Encode the possible tasks that must be performed for each assertion. • Perform specific tasks to overcome the error or exception condition.

  8. Assertion Processor Skeleton • Scan Detection • if (error detected) begin count = count + 1; • if (esci == 1) ErrorNo = count; • Priority Encoding from ErrorNo • Error Correction • case (ErrorPriority) • Halt IC • HW Reset • SW Interrupt • Exception Handling HW

  9. Proposed Method

  10. Scratchpad Memory (SPM) • SPM is popular for real-time embedded systems. Whereas caches use a MMU to control data accesses, but SPM directly maps certain addresses to the SRAM. • SPM is that it avoids the cache’s costly MMU. • SPM is 100% statically predictable, whereas the variables stored in the cache depend upon the dynamic execution history.

  11. Scratchpad Selection in Microprocessor

  12. Memory Controller • Memory Definition • ExternalRAM_Scratch • InternalRAM_Scratch • Assertion Processor • selection signal • Assertions • Inti_x_addr = 8’b00000100 • assert_alwaysactive_internal(addr < init_x_addr) • assert_alwaysactive_internal(addr>= init_x_addr)

  13. Time Diagram

  14. Sensor Network Microprocessor • Decrease hardware operational frequency. • Change basic node functionality. • Put core into idle or sleep mode. H M L

  15. Conclusion • Assertion be a powerful tool to capture design errors in complex design. • The extended exception handling mechanism turned IP design into a flexible structure, incorporating low overhead into original core design.

  16. Comment • The concept of assertion processor and OVL. • one useful mechanism to monitor microprocessor internal cycle by cycle behaviors. • To detect CPU illegal behaviors by setting test expression corresponding to software function.

More Related