4 RISC MCU IP soft core design studies
- Author
- KeZhiBin
- Advisor
- LingChaoDong
- School
- Huaqiao University
- Major
- Physical Electronics
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 93
- Citations
- 0
Abstract
This topic research goal is to develop and design a 4-bit RISC MCU IP cores. After investigation and comparison on the market, through synthesis on the concrete function, application characteristic and hardware demand of kinds of domestic electric appliances class products, CPU architecture and common used peripheral hardware are confirmed as the basis research, in order to design series products based on the design.After the thorough careful research, Harvard Architecture which the data bus and the instruction bus were mutually separated, as well as two-pipeline architecture of Microchip technical company’s PIC microcontroller is finally accepted. The instruction set is mainly referred to the PIC instruction architecture, and is unified with own hardware characteristic to carry on the design. During the design, the system architecture, instruction system and system timing of PIC and other well-known series MCU were analyzed firstly, and then the entire MCU core was partitioned with a top-down methodology that systematically partitions a complex design into smaller functional units that can be designed and verified individually and more easily. A feasible RISC MCU IP module was built. All modules were achieved by using Verilog HDL and IP core technology, simulated, synthesized and verified with some EDA tools.The designed IP core mainly includes the CPU basic module, the periphery commonly used basic module and the MCU interruption system. This article emphatically discusses the working principle and design method of each CPU basic module through the process of the CPU pipeline, then approximately introduces the periphery commonly used basic module, finally carries on the detailed description on the MCU interruption system. The overall system has already passed the comprehensive instruction set test, including single instruction collection test and instruction combination test. The results showed that the MCU IP core can correctly execute all instructions except for stop and wait, and meet the performance of the MCU we designed.
Table of contents
Abstract 3-5
ABSTRACT 5-10
Chapter I: Introduction 10-14
1.1 MCU Introduction 10 - 11
1.2 topics of this project purpose and significance 11-12
1.2.1 of this topic topic background 11
1.2.2 topics topics purpose and significance 11-12
1.3 dissertation content and structural arrangements 12-14
1.3.1 Scope and Methodology 12-13 <br / > 1.3.2 papers structural arrangements 13-14
Chapter II : design methods and design process 14-22
2.1 high-level digital system design 14 - 20
2.1.1 top-down design methodology and design flow 14-18
2.1.2 hardware Description Language 18-19
2.1.3 high level design technical merits 19-20
2.2 MCU IP core design flow 20-22
Chapter : RISC MCU IP core instruction set architecture design and analysis 22-30
3.1 micro- controller hardware structure and characteristics 22-24
3.2 microcontroller architecture 24-26
3.2.1 resources Overview 24
3.2.2 CPU instruction cycle timing diagram and 24-26
3.3 instruction 26-30
3.3.1 command system Overview 26-27
3.3.3 RISC definition and characteristics 27
3.3.4 RISC instruction set selection 27-30
Chapter 4: MCU IP core module circuit design 30-45
4.1 MCU IP core basic module 30-40
4.1.1 system clock generation circuit module (clk_gen) 31-32
4.1.2 instruction decoder (decode) 32-33
4.1.3 data Selector (data_mux) 33-34
4.1.4 The arithmetic logic unit ALU (aluown) 34-36
4.1.5 program Counter and Stack (prgm_cntr) 36-37
4.1.6 special Function Registers module 37-38
4.1.7 I / O modules 38-40
4.2 timer / counter with a reference timer 40-41
4.2. a general purpose timer / counter (time10) 40
4.2.2 Base Timer (basetimer) 40-41
4.3 watchdog 41-42 <br / > 4.4 audio control module 42
4.5 memory Design 42-45
Chapter : MCU interrupt system design 45-52
5.1 interrupt source 46-47
5.2 interrupt priority design 47-49
5.3 interrupt response 49
5.4 PC and stack modules 49-50
5.5 interrupt system simulation 50-52
Chapter VI : MCU IP core FPGA simulation and synthesis 52-61
6.1 emulation and comprehensive Overview 52
6.2 functional simulation 52-53
6.3 logic synthesis 53-55
6.4 integrated post-simulation 55-56
6.5 layout 56
6.6 timing simulation 56-57
6.7 simulation strategy and simulation charts 57-59
6.8 function Evaluation and simulation experience 59-61
6.8.1 functionality and performance evaluation 59-60
6.8.2 simulation experience 60-61
seventh Chapter: Summary and Outlook 61-62
References 62-73
published during the author 's master's degree thesis 73-74
Acknowledgements 74
Related dissertations
- Five Levels Pipeline PIC16C5x Series MCU IP CORE Design
- Micro-controller Design Based on FPGA
- The Design and Verification of USB Interface Soft IP CORE
- The Design and Implementation of32Bits RISC MCU Based on ARMV4Instruction Set
- Study and Realization of8-bit PIC16F62X-Instruction-Set-Compatible MCU IP Core
- High Performance MAC Design in MCU
- Building an 8-bits RISC Microcontroller in an FPGA
- Eight MCU IP core design and application
- Eight microprocessor IP core design and research
- The Foam Insulation Greenhouse Monitoring System Design
- Research of a System Integrated Rotational Speed and Temperature Measurement Based on MCU
- The Wireless Temperature and Humidity Monitoring System Design
- The Design for Wireless Multiple Measuring System of Small Area Crop Growth Environment
- Development of Intelligent Control System for Precise Wheat Seeder with Suction and Stepless Speed Regulation
- The Design of PCR Temperature Control System in STC
- Design of Temperature and Humidity Control System Based on Micro-controller
- The Design and Implementation of Automatic Nail System for Greenhouses Heat Preservation Quilt
- Research and Design of Transfer Robot Using Competition
- The Design of Kerosene Vapor Concentration Detector
- Study of CPS Communication Based on MCU and Intelligent Optimization Algorithms