Method for automatically generating driver codes according to chip manual
A chip manual and automatic generation technology, applied in the fields of electrical digital data processing, program control design, instruments, etc., can solve the problems such as the inability of the new IC to be put into mass production quickly, the driver code is not adapted to the new IC, and prone to clerical errors, etc., to achieve high efficiency. And easy to maintain, neat and beautiful code, time-saving effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] Embodiments of the present invention are as image 3 As shown, it is divided into two steps. Firstly, the SPEC content analysis is performed to generate a TDB file, and then the TDB file is parsed to generate a CSP code.
[0023] 301, inputting a SPEC document in Word2003 format;
[0024] 302. Perform analysis using a SPEC analysis tool, extract register table information in the SPEC file, and generate a table database file;
[0025] 303. Use a code generation tool to parse the form database file, extract information such as the name, address, and default value of each register, and output it to the CSP header file after sorting out; extract information such as the offset address, name, and usage description of each field of the register, and pass After sorting, output to the C file of CSP.
[0026] According to an embodiment of the present invention, the specific steps of step 302 (SPEC analysis process) are as follows Figure 4 shown.
[0027] 401, open the SPEC d...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com