8 -bit RISC microcontroller design and verification

Author
LvQingLan
Advisor
LiPing
School
University of Electronic Science and Technology
Major
Microelectronics technology
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2002
Downloads
294
Citations
3

Request the full text

Abstract

The target of this research subject is to develop an 8-bit microcontroller, which is compatible with PIC16C57 of Microchip Technology Inc. in the instruction system. The program of the MCU is downloaded into Xilinx VirtexElOO. The MCU should be tested by a wireless mouse system and its Clock frequency should not be below 20MHZ, which is the most high clock frequency of PIC16C57.This paper investigates the system architecture and the instruction system of the microcontroller PIC16C57. It is found that the clock frequency can be improved apparently by improving the PIC16C57’s system architecture. Through many experiments, it is proposed to replace the two-pipeline architecture of PIC16C57 with a novel multi-cycle architecture. The multi-cycle architecture has following features: system structure is briefer and circuit design is simpler. These features result in decreasing the design errors in circuit design and making upward compatibility easier.The MCU is described by using VHDL. Many common arithmetic programs are used to test the source programs of the MCU. When the experiment result is correct and the timing simulation is also right, a verified wireless mouse receive program is run in MCU.These successful experiments declare the developed MCU is fully compatible with PIC16C57 and its system clock reaches above 60MHZ.The research subject also provides a useful system architecture: multi-cycle architecture. Its instruction cycle is made up of four clock cycles. Every instruction can be executed in one instruction cycle. This multi-cycle architecture is fit for the RISC microcontroller.

Table of contents

The Chinese summary 4-5 English summary the 5-9 chapter the introduction 9-13 1.1 instruction system development and CISC design ideas 9-10 1.2 RISC definition and characteristics 10-11 1.3 reduce average instruction execution cycles is the essence of the RISC thinking 11-13 Chapter II compatible microcontroller (MCU) the instruction system briefly 13-18 2.1 Command System Overview 13-14 .2 operand types 14-15 2.3 instruction type 15-16 2.4 addressing modes 16 2.5 instruction format 16-18 Chapter compatible microcontroller (MCU) internal structure 18-36 Overview 18 3.1 the MCU internal structure 18-20 3.2 the MCU memory organization structure 20-28 3.2.1 program memory structure 20 3.2.2 Data Memory structure 20-22 3.2.3 Indirect Addressing INDF and FSR Registers 22-24 3.2.4 Program Counter PC 24-25 3.2.5 Status Register Status (F3) to select register OPTION 25-26 3.2.6 26-27 < br /> 3.2.7 working register W 27-28 3.3 I / O ports 28-31 3.4 Other features 31-36 3.4.1 reset circuit 31-33 3.4.2 watchdog timer WDT 33-34 3.4.3 Sleep power-saving mode (SLEEP) 34 3.4.4 timer / counter TMR0 34-36 Chapter cycle of the processor and its design 36-54 4.1 Overview 36-38 4.2 how to divide the multi-cycle processor at all levels of operation 38-40 4.3 of ALU Design 40-42 4.4 MCU data path 42-48 4.4.1 the instruction fetches circuit 42 .4.2 arithmetic logic operation circuit 42-44 the 4.4.3 bit operating class circuit 44 4.4.4 indirect addressing circuit 44-46 4.4.5 overall data path 46-48 4.5, the MCU control components designed 48-50 4.6 for some special instruction processing 50-54 Chapter this design PIC16C57 different of 54-57 Overview 54 5.1 the system structures Comparative 54-55 5.2 two stack expanded into eight stack 55 5.3 I / O ports and other registers on the read and write timing different 55-57 Chapter MCU implementation and verification results 57-66 6.1 top-down design methodology and design tools 57-62 6.1.1 top-down design methodology (Top-Down) 57-59 6.1.2 using hardware description language (HDL) hardware circuit design method 59-60 6.1.3 design tools 60-62 6.2 commonly used arithmetic subroutine 62-64 6 a .3 3D wireless mouse presentation systems 64-66 Chapter VII summarizes 66-67 References: 67-68 Acknowledgements 68-69 Appendix 1 PIC16C57 instruction table 69-70 Appendix 2, static timing analysis reports TOP. TWR text 70-72 Appendix 3 PIC series microcontroller system structure and working principle 72-85 . The hardware structural features of the PIC family of microcontrollers 72-78 1.1 the basic architecture of the microcontroller 72 1.2 PIC family of microcontrollers hardware structure FEATURES: 72-78 2. PIC family of microcontrollers technical performance characteristics 78-80 3. The system architecture of the PIC family of microcontrollers 80-82 4. The PIC16C57 microcontroller Profile 82-85 4.1 PIC16C57 microcontroller pin description 82-83 4.2 the PIC16C57 microcontroller internal structure 83-85

Related dissertations

  1. The Design and Implementation of32Bits RISC MCU Based on ARMV4Instruction Set
    SunYongZuo ·Zhejiang Sci-Tech University ·2013 ·Master's thesis
  2. Study and Realization of8-bit PIC16F62X-Instruction-Set-Compatible MCU IP Core
  3. Five Levels Pipeline PIC16C5x Series MCU IP CORE Design
    SuLingZuo ·Xi'an University of Technology ·2008 ·Master's thesis
  4. Building an 8-bits RISC Microcontroller in an FPGA
    ZhangHongNa ·Wuhan University of Technology ·2007 ·Master's thesis
  5. The Foam Insulation Greenhouse Monitoring System Design
    ZhangZuo ·Northeast Forestry University ·2013 ·Master's thesis
  6. Research of a System Integrated Rotational Speed and Temperature Measurement Based on MCU
    ZhangRen ·Dalian Jiaotong University ·2013 ·Master's thesis
  7. The Wireless Temperature and Humidity Monitoring System Design
    ZuoRui ·Jilin University ·2013 ·Master's thesis
  8. The Design for Wireless Multiple Measuring System of Small Area Crop Growth Environment
    GaoHongHong ·Ningxia University ·2014 ·Master's thesis
  9. Development of Intelligent Control System for Precise Wheat Seeder with Suction and Stepless Speed Regulation
    ZhuPengFei ·Shandong Agricultural University ·2013 ·Master's thesis
  10. The Design of PCR Temperature Control System in STC
    CaoYu ·Shandong University ·2013 ·Master's thesis
  11. Design of Temperature and Humidity Control System Based on Micro-controller
    JiZuoLiang ·Shandong Normal University ·2014 ·Master's thesis
  12. The Design and Implementation of Automatic Nail System for Greenhouses Heat Preservation Quilt
  13. Research and Design of Transfer Robot Using Competition
  14. The Design of Kerosene Vapor Concentration Detector
  15. Study of CPS Communication Based on MCU and Intelligent Optimization Algorithms
    FuJiaXin ·Shenyang University of construction ·2013 ·Master's thesis
  16. Research on System of Digital Image Proccessing and Recognition of Instruments
    BianShuHai ·Shenyang University of construction ·2013 ·Master's thesis
  17. Research and Implementation of Model Machine Based on Combinational Logic Controller
    WangXiaoDong ·Hebei University of Technology ·2012 ·Master's thesis
  18. Design and Optimization of the Pipeline for the64-bits RISC Stream Core
  19. The Research and Design of RISC Microprocessor Soft Core
    ZhuShuangBing ·Hubei University ·2013 ·Master's thesis
  20. The Design and Realization of Instruction Memory Management Unit in RISC Microprocessor
    ZhangKeSong ·Wuhan University of Technology ·2013 ·Master's thesis