Compiler Plugin Framework for Dual Design Verification and Resource Packaging
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing compiler plugins for special-purpose processors lack a robust framework to support dual usage in design verification and resource packaging, leading to inefficiencies and resource wastage.
Innovation Solution
A compiler plugin framework is developed, comprising a testcases module, an API interface, a common compiler module, a design verification specialized support module, and a resource packaging specialized support module, which enables dual support for design verification and resource packaging by selecting appropriate plugin processes based on configuration settings.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a single compiler plugin framework supports both design verification and resource packaging, then adaptability is improved, but device complexity increases
Solution Approach 1:
The compiler plugin framework is segmented into distinct functional modules: a common compiler module providing shared functionality, a design verification specialized support module for DV-specific operations, and a resource packaging specialized support module for RP-specific operations. This segmentation allows the system to support multiple functions while managing complexity through modular architecture.
Solution Approach 2:
The common compiler module serves as a universal foundation that provides shared functionality for both design verification and resource packaging operations. By implementing multi-functionality at the common module level, the framework achieves adaptability without requiring complete duplication of functionality across different usage scenarios.
2Manufacturing precision
If separate codebases are maintained for design verification and resource packaging, then manufacturing precision is improved, but loss of substance increases
Solution Approach 1:
The framework merges the common functionality into a single shared codebase in the common compiler module, which is reused by both design verification and resource packaging operations. This combining approach eliminates code duplication while maintaining specialized functionality through separate support modules that interface with the common module.
Solution Approach 2:
Each specialized support module (design verification and resource packaging) maintains local quality by implementing usage-specific functionality and configuration, while relying on the common compiler module for shared operations. This allows each module to be optimized for its specific purpose without duplicating the entire codebase.
Data Source
AI summary
A compiler (CPL) plugin comprises a TC to, responsive to a new DV test, read configuration settings and selects appropriate plugin processes based on the configuration settings. An API interface can generate images that control the special purpose processor during a stage of a plurality of stages for a CPL-related design verification (DV) test and call selected plugin processes. A common compiler module comprising a common function codebase. A DV specialized support module comprising a DV function only codebase, wherein the DV has access to the common compiler module. An RP specialized support module can comprise an RP function only codebase, wherein the codebase is common for both DV and RP, and wherein top-level APIs are designed for both DV and RP. Responsive to completing the DV test, TC disables the plugins and injects traffic for the DV test, and wherein TC reports testing results.


