Research and Design of 8 Bit MCU Based on RISC
- Author
- HuaXiaoQuan
- Advisor
- FangHouHui
- School
- Hunan University
- Major
- Theory and New
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 235
- Citations
- 1
Abstract
Micro-Controller Unit (MCU) is the key component of many digital systems. To successfully design a MCU with our own intellectual property is not only with great challenge but also our pursuing ideal and goal because MCU is very complicated in structure and calls for high requirement in such aspects as robust, area, speed, power consumption and function. The subject of this thesis—An eight bit embedded RISC Microcontroller Unit IP Core design is just a helpful try and practice with this methodology.This paper gives complete analysis for the instruction set, system architecture and system time sequence of PIC16C5X on-chip computer. Based on analysis, we finished the architecture design and the division of the functional modules. Allowing for the PIC16C57 MCU can not suit the high speed situation, we improving the clock structure through using one clock instead of the original four clock technology. Cooperating the instruction work step, the new clock structure executed one clock cycle per instruction. Additionally, we exactly designed the central process department: Arithmetic Logic Unit. The clock frequency of the improving MCU should be higher than the highest frequency of PIC16C5X MCU.This MCU is described by using Verilog hardware design language and designed in the way from top to down. Many crossed architecture programs are used to test the source programs of the improving MCU. We used the coverage rate to deal with the stand or fall of the code. It is also assuring the reliability of the total test.Lastly, we use the high level synthesis tool Synplify to test the validity of the improving MCU. According to the synthesis result, the system clock reached about 66MHz.
Table of contents
The dissertation the original statement and dissertation Copyright manual 4-5
summary for 5-6
Abstract 6-10
Introduction 10-16
1.1 Integrated Circuits Overview 10-11
1.2 microcontroller Overview 11-12
1.2.1 foreign micro-controller development 11-12
1.2.2 development and outlook of the domestic microcontroller 12
1.3 PIC family of microcontrollers 12-13
1.4 thesis significance 13-14
1.4.1 microcontroller angle measure 1.4.2 SOC design angle measures 13
13-14
1.5 This paper studies 14-15
1.6 articles structural arrangements 15-16
Chapter II PIC microcontroller command system analysis are found; 16-23
2.1 RISC architecture the 16-20 2.1.1 Reduced Instruction thinking proposed
the typical characteristics 16-17
2.1.2 RISC 17
2.1.3 RISC ideological essence the 17-18 2.1.4 the RISC and bus structures
18-19
2.1.5 RISC pipeline 19-20
2.2 instruction system the instruction types 20-23
2.2.1 20-21
2.2.2 addressing modes 21-23 <br / > Chapter PIC microcontroller internal structure and 23-34
3.1 overall structure 23-24
3.2 timing control logic 24-28
the 3.2.1 working clock instruction cycle 24-25
3.2.2 reset circuit 25-27
3.2.3 Watchdog and divider 27 -28
3.3 data the channel logic 28-34
the 3.3.1 program counter and stack 28-29
3.3.2 memory 29-31
3.3.3 Status register (STATUS) 31-32
the 3.3.4 parameter register (OPTION) 32-33
3.3.5 I / O port nbsp, 33-34
Chapter Improved MCU design ; 34-40
4.1 timing improvements 34-35
4.2 arithmetic logic unit design 35-37
4.2.1 lookahead adder principle 35-36
4.2.2 arithmetic and logic design 36-37
4.3 Memory Design the 37-38 stack
4.4 design the 4.5 instruction register 38
38-39
4.6 overall design of the block diagram 39-40 < br /> CHAPTER hardware description language and MCU 40-47
5.1 Verilog design points 40-45
5.1.1 blocking assignments and non-blocking assignment 40-43
5.1.2 finite state machine (FSM) 43-45 MCUs
5.2 hardware language 45-47
5.2.1 arithmetical, logic unit 45-46
5.2.2 memory 46
5.2.3 instruction decoder 46-47
Chapter MCU simulation verify 47-62
6.1 authentication infrastructure 47-50
6.1.1 validation and test nbsp 47
6.1.2 formal verification and simulation ; 47-48
6.1.3 Testbench 48-50
6.2 The design verification platform 50-51
6.3 code coverage 51-56
6.3.1 coverage Overview 51-52
6.3.2 coverage process the 6.3.3 code coverage 52-53
distribution 53-55
6.3.4 of this design in code coverage nbsp a; the 55-56
6.4 this design test scenarios 56-59
6.4.1 for different instruction test 56-57
6.4.2 tested for different functional blocks 57-58
6.4.3 overall test 58-59
6.5 MCU comprehensive verification 59-62
6.5.1 integrated process 59-60
6.5.2 Comprehensive constraints 60-61
6.5.3 Improved combined result of the MCU the 61-62
conclusion 62-64
Reference 64-67
Acknowledgements 67-68
Appendix A degree during the published papers 68-69
Appendix B to study a degree during the participation in research projects 69-70
Appendix C PIC16C5X Series Instruction Set 70-72
the Appendix D RTL code 72-80
Related dissertations
- Video Monitoring System Based on FPGA to Robot
- Design and Implementation of the Timing Control Circuit for a New CMOS Image Sensor with High Performance and Wide Dynamic Range
- Design and Implementation of the Timing Circuit for a High Performance and Wild Dynamic CMOS Image Sensor
- Design and Verification of RFID Reader Chip Digital Part
- Based on the FPGA Four Image Segmentation Research
- Technology of Hardware Image Processing on FPGA
- The Research of Data Interface Adaptive Card of Computer to Plate
- Design and Verification of FPGA-based DDR3SDRAM Controller
- Based on the laser MEMS micro mirror image source driving circuit technology research and Implementation
- The Implementation of JPEG Image Compression Algorithm Based on FPFA
- The Design of an Automatically Variable Modulus ADPLL
- The Implementation and Analysis of the AES Algorithm Based on FPGA
- Design and Verilog Implementation of Digital Equalizer
- The Functional Valifidation of Wireless Sensor Network Node SoC Chip
- The Optimized Design and Research of Embedded SDRAM Controller
- Digital Baseband Design for UHF RFID Reader and Cyclic Redundancy Check Arithmetic Research
- Design and Implementation of Embedded Entrance Guard System
- A Verilog Precompiler for Interactive Optimization of IP Core Design
- Design and Implementation of Gene Mutation Simulator
- Research and Hardware Design of Method for Digital Image Scrambling Based on Advanced Encryption Standard