Design and Realization of CPU Based on PIC16F676
- Author
- PanHaiXiang
- Advisor
- JuShuiRong
- School
- Jiangnan University
- Major
- Microelectronics and Solid State Electronics
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 99
- Citations
- 0
Abstract
PIC16F676 which is based on RISC frame, RISC is the acronym of Reduced Instruction Set Computer. Compared with the common CPU, RISC do not only simplifies the instruction set but also makes the computer construction simpler and more reasonable. Consequently it increases the work frequency.The target of this research subject is to develop an 8-bit micro controller with ASIC traditional design flow,which makes use of the microchip instruction set and compatible with PIC16F676 of Microchip Technology Inc. Our ultimate goal is to achieve the net list and .did file after DC synthesis for Astro.During the design, the system architecture and instruction set of PIC16F676 were analyzed firstly ,and then the entire CPU was partitioned with top-down methodology that systematically partition a complex design into smaller functional units that can be designed and verified individually and more easily. We focus on reduce of area and power effect, and look ALU design as a key. We optimize ALU unit and maintain it’s function at the same time. After synthesis we simulate the net list.We achieved this object by comprehension of the system architecture, correct partition of the function modules, and effective description of the RTL code of the design. Using advanced EDA tools to synthesis RTL coding(SMIC 0.35um) to get net list , and finally , the result of simulate show that we have reach the target : compatible with PIC16F676 micro controller .
Table of contents
Abstract 3-4
Abstract 4-8
first chapter 8-12
1.1 microcontroller (MCU) Overview
1.2 abroad CPU and MCU development 8-9
1.3 domestic MCU development and mission 9-10
the
MCUs 1.4 broad market
the
characteristics of 1.5 PIC microcontroller 10-11
1.6 thesis work content, topic, purpose and significance 11-12
second chapter of the chip design process 12-16
2.1 needs analysis and requirements management 12-13
2.2 algorithm and architecture design 13
The
the 2.3 module design and RTL achieve 13-14
2.4 integrated 14
2.5 timing validation 14
2.6 prototype validation 14-15
2.7 back-end design 15
2.8 production test 15-16
Chapter RISC architecture 8-bit MCU architecture design 16-27
3.1 MCU system architecture 16-17
3.2 timing design 17-18
3.3 pipeline design 18-19
3.4 store organization 19-24
3.4.1 organizational structure of the program storage area 19-20
3.4.2 The structure of the data memory 20
3.4.3 direct addressing and indirect addressing solution 20-21
3.4.4 the STATUS register 21-23
3.4.5 to select registers OPTION 23-24
3.4.6 arithmetic logic unit and working registers 24
3.5 interrupt handling 24-27
3.5.1 interrupt sources 24-25
3.5.2 interrupt program start and end 25
3.5.3 interrupt source types 25-27
Chapter instruction system 27-30
4.1 Instruction Set Overview 27
4.2 Reduced Instruction Set RISC 27-28
4.3 PIC16F family of microcontrollers instruction system [7] [8] 28-30
4.3.1 data types 28
4.3.2 instruction type 28
4.3.3 addressing modes 28-29
4.3.4 instruction format 29-30
Chapter 8 RISC-CPU module unit designed 30-49
5.1 Timing was part of the design 30-36
5.1.1 clock design 30-31
5.1.2 Watchdog and divider design 31-33
5.1.3 Reset Design 33-35
5.1.4 overall timing design 35-36
5.2 instruction register IR 36-39
5.3 program counter PC 39-40
5.4 stack (STACK) 40-43
5.5 arithmetic logic unit ALU 43-46
5.5.1 bit computing 43
5.5.2 logical operations and arithmetic 43-45
5.5.3 control instructions 45-46
5.6 instruction decoder (Instruction decoder) 46-47
5.7 Data Memory RAM 47-49
Chapter MCU RISC CPU simulation and synthesis 49-59
6.1 RISC MCU CPU simulators and comprehensive overview of 49
6.2 functional simulation 49-53
6.2.1 RISC MCU CPU simulation strategy 50-53
6.2.2 RISC MCU CPU simulation experience 53
6.3 RISC MCU CPU logic synthesis 53-59
6.3.1 Comprehensive constraints 53-56
6.3.2 Comprehensive Strategy 56-57
6.3.3 comprehensive report 57-58
6.3.4 gate-level simulation 58-59
Chapter VII summarizes 59-60
Acknowledgements 60-61
the
References 61-63
the
Appendix 1: published by the author during the master's degree thesis 63-64
the
Appendix 2: top level schematics and major sub-modules Figure 64-66
Related dissertations
- The Design of 8 Bits RISC-CPU
- High - speed MCU design FPGA and ASIC implementation
- Design and Research of CPU Core Based on PIC12F683
- 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
- Research on System of Digital Image Proccessing and Recognition of Instruments
- Application Research of Wireless Anti-theft System Based on GSM/GPRS
- Design and Implementation of FIFO Timeout Interrupt in UART
- The design and Realization of DDS technology of high precision signal source based on
- On the Design of Digital Synthesizer Based on Phase-Locked Loop
- Design and Implementation of a MCS-51-instruction-set-compatible High Speed MCU