Font Size: a A A

Verification Of MCU Based On PIC Instruction Set

Posted on:2022-09-03Degree:MasterType:Thesis
Country:ChinaCandidate:J X ZhangFull Text:PDF
GTID:2518306572456214Subject:Electronic Science and Technology
Abstract/Summary:PDF Full Text Request
With the rapid development of high-tech technologies,people's needs are gradually increasing.The integrated circuit industry has been widely used in many scenarios.Recently,the number of gates in VLSI has reached hundreds of millions,and the corresponding chip manufacturing process is constantly improving.For hardware with complex functions,a slight deviation in the entire design process will also cause the entire So C system to function incorrectly.The tapeout failure caused by this phenomenon will consume a lot of economy,so the importance of verification work is self-evident.MCU(Micro Control Unit,microcontroller)plays a core role in many smart products,and the quality of the MCU affects the performance of smart devices.Therefore,the verification of the MCU is significant.This article takes a MCU function verification process based on the PIC instruction set as an example,gives a typical MCU verification process,and introduces the target MCU structure,function verification method research and verification result analysis in detail.First,analyze the instruction set structure of the target MCU,and then analyze the overall structure of the PIC and the structure of the memory controller.Secondly,the function verification method of the target MCU is researched,including the development process of the test vector,the extraction of function points and the corresponding verification scheme.The target MCU is mainly divided into two parts:the storage controller and the PIC design.The storage controller mainly verifies the state machine and timing,and the PIC verifies the instruction set,peripherals and registers.Developed test vectors for single instructions,combined instructions,random instructions,and assembly for instruction sets;developed test vectors for GPIO,Timer,watchdog,and analog comparators for peripherals;developed reset,read and write tests for registers vector.Finally,the project catalog was sorted out and a verification platform was built to verify the target MCU.The test vectors are classified according to the corresponding function points and loaded into the FLASH mounted on the MCU to complete batch verification,and the verification results are analyzed.In this paper,the target MCU is fully verified by continuously increasing test vectors and repeated regression tests.In the end,all verification function points are passed,and batch verification also improves the verification efficiency and ensures the correctness of the entire MCU system function.
Keywords/Search Tags:MCU, PIC, function point, test vector, verification platform
PDF Full Text Request
Related items