Design and Verification of an 8-bit MCU Based on Wishbone Bus

Author
WangWeiWei
Advisor
WangChengHua
School
Nanjing University of Aeronautics and Astronautics
Major
Circuits and Systems
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2009
Downloads
45
Citations
3

Request the full text

Abstract

Microcontroller (Microcontroller Unit, MCU) is the core component of many digital systems , the complexity of its control , there are higher requirements on the robustness , area , speed of operation , function . The high-performance MCU design with independent intellectual property rights has been a challenging issue in the field of integrated circuit design . The study of this paper is to make this a meaningful attempt . In this paper, the design of MCU -based Wishbone bus , the kernel program bus 16 , data bus 8 , the company PIC18C series of instructions with Microchip microcontroller compatible , a total of 77 instructions , the vast majority of the instruction can be completed in a single machine cycle . By Harvard architecture and a two-stage pipeline structure , improve the speed of execution of the instruction . In this paper, the design of MCU peripherals including GPIO, SPI, I2C, due to the widespread use of the ARM processor , also designed the Wishbone-AHB bus bridge , making the Wishbone specification master and AHB-compliant specification between devices can send each other data. All peripherals from the device by way of shared bus master device kernel interconnection . In this paper, the design of each sub- module of the kernel , peripheral design , logic synthesis , static timing analysis, and verification are discussed in detail . RTL design using Verilog HDL by Synopsys EDA tools used in the different stages of the design , synthesis and static timing analysis using Taiwan Semiconductor Manufacturing Company (TSMC) 0.18μm technology library . Use Microchip's MPLAB the as assembler source compiler environment . The final validation results show that the MCU design is fully compatible PIC18C instruction set , basic peripheral functions MCU in accordance with the specified instructions to perform a predetermined action , timing and pipeline right MCU 's basic functions to be realized . As a result of the Wishbone bus , the MCU also has the advantages of flexible and easy to expand .

Table of contents

Abstract 4-5 ABSTRACT 5-11 first chapter 11-18 the subject purpose and meaning of 1.1 11-12 1.2 development status at home and abroad 12-16 1.2.1 MCU development history 12-15 1.2.2 the MCU the development trend 15-16 1.3 research content 16-17 1.4 of this paper structure 17-18 MCU architecture design 18-29 2.1 MCU hardware structure design 18-27 2.1.1 kernel select 18-19 2.1.2-chip bus select 19-27 2.2 MCU software architecture design 27-28 2.3 WISHBONE bus address decoding 28-29 Chapter MCU core design 29-44 3.1 architecture and instruction set selection 29 3.2 instruction process and pipeline 29-30 3.3 core module design 30-37 3.3.1 program WISHBONE logic module 31-33 3.3.2 Data WISHBONE logic module 33-35 3.3.3 Table Latch module 35-36 3.3.4 instruction decoder and control module 36-37 3.3.5 ALU module 37 3.3.6 8 x 8 hardware multiplier module 37 the of 3.4 instruction format and instruction set 37-43 3.5 port signal and top-level block diagram 43-44 Chapter MCU peripherals designed 44-60 4.1 GPIO core design 44-45 4.1.1 internal registers 44 4.1.2 port signal and top-level block diagram 44-45 4.2 SPI core design 45-50 4.2.1 SPI transfer process 45-46 4.2.2 internal registers 46-49 4.2.3 SPI nuclear overall block diagram 49 4.2.4 port signal and top-level block diagram 49-50 4.3 I ~ 2C nuclear design 50-58 4.3.1 I ~~ 2C transfer process 51 4.3.2 clock synchronization and arbitration 51-53 4.3.2.1 clock synchronization 51-52 4.3.2.2 arbitration 52-53 4.3.3 internal registers 53-55 4.3.4 I ~~ 2C nuclear overall block diagram 55-57 4.3.5 port signal and top-level block diagram 57-58 4.4 WISHBONE-AHB bus bridge design 58-60 4.4.1 port signal and top-level block diagram 58-60 Chapter V logic 60-70 5.1 logic synthesis flow 60-61 5.2 design environment 61-63 5.3 design constraints 63-66 5.3.1 design rule constraints 63-64 5.3.2 Design optimization constraints 64-66 5.3.3 special path constraints 66 5.4 system logic synthesis 66-70 Chapter static timing analysis 70-80 the a 6.1 static timing analysis with traditional dynamic simulation 70 the 6.2 static timing analysis works 70-71 6.3 static timing analysis of input data 71-75 the of 6.4 commonly Static timing analysis command 75-76 6.5 static timing analysis processes and analytical methods 76-77 6.6 static timing analysis 77-80 Chapter VII system verification 80-91 7.1 validation defined 80-81 7.2 verification technology 81-83 7.2.1 Functional Simulation 81-82 7.2.2 Static Timing Analysis 82-83 7.2.3 form of validation 83 7.3 system simulation strategy 83-91 7.3.1 Functional Simulation 83-89 7.3.2 FPGA prototype validation 89-91 Chapter VIII Summary and Outlook 91-93 the References 93-97 Acknowledgements 97-98 during school research and published papers 98

Related dissertations

  1. Dynamic-Language Based System Description, Verification, and Synthesis
    ZhangMi ·Fudan University ·2009 ·Doctoral dissertation
  2. Design and Optimization of Core Achitecture in the Many-Core Processor
    LiuYuPing ·Jilin University ·2008 ·Master's thesis
  3. Research on Timing Model Generation Techniques in X Microprocessor
  4. Study on Evolution Mechanism of Supply Chain Network
  5. Research on Collaborative Optimization of city group logistics base and multi task
  6. Study on Power Optimal Allocation Based on Hybrid Genetic Algorithm
    JiangPing ·Guangxi University ·2012 ·Master's thesis
  7. Method of Verifying3D Object Authenticity Based on Spin Image
    WeiChunZi ·Northeastern University ·2013 ·Master's thesis
  8. Design and Implementation of Measuirng Instrument Detection System Based on ASP.NET
    ZhuLi ·Hunan University ·2013 ·Master's thesis
  9. The Design and Verification of Configurable Host Port Interface on DSP64X
  10. The Design and Implementation of PCI Port for YHFT-DSPX
  11. Structure a Reference Module of ISO14443Communication Interface in VMM Verification Platform
  12. An SER Estimation-based Automatic Logic Synthesis Method for FPGAs and Verification
    XiaJing ·Hunan University ·2013 ·Master's thesis
  13. Research and design of filter to suppress active complex image based on WSN
  14. The Design and Verification of DFT Integration of High Speed Interface IP Cores for High Performance CPU
  15. Verification of AMBAIO System Based on SoC
  16. Design and Ultrasonic Application of System on a Programable Chip Based on Oprnrisc
    XieFei ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. The Design and Implementation of the FPGA Based Verification and Testing Platform of NoC
  18. Functional Verification of YHFT-DX High Performance DSP
  19. The Verification of USIM Core Based on Specman
  20. Design and Implementation of Floating Arithmetic Unit in FT-Matrix DSP