Design of an 8-bit RISC MCU
- Author
- GengNaiKang
- Advisor
- ZhangYuMing
- School
- Xi'an University of Electronic Science and Technology
- Major
- Microelectronics and Solid State Electronics
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 391
- Citations
- 1
Abstract
Considering the prospects for the development of the 8-bit MCU and the characteristics of the RISC architecture to take full advantage of the powerful features of EDA tools , the thesis topics using a top-down design approach , independently developed a proprietary , high cost 8 bit RISC MCU, and developed into the CPU part of the integrated soft-core , and can also be based on user needs different configuration of the peripheral circuits . This paper an 8 -bit RISC architecture MCU, its main features are : Harvard architecture ; instruction length is fixed 13 , a total of 54 instructions , the vast majority of orders for the single-cycle instructions , help simplify programming, as well as to save the chip area , the hardware implementation ; two-stage pipeline design ; integrated 32 × 8bit SRAM and 1k × 13bit ROM ; sleep wake-up function ; watchdog reset function ; there are multiple programmable the use of I / O ports . The papers on the MCU chip architecture design , instruction set design and module design are discussed in detail . Papers Verilog HDL description of the system by the FPGA verification , the entire system is working properly , the operating frequency of up to 72MHz . Finally , based on the CSMC 0.5um process entire chip logic synthesis , placement and routing , layout design and verification , chip post-simulation frequency up to 65MHz .
Table of contents
Abstract 4-5
Abstract 5-9
first chapter 9-15
1.1 RISC architecture development and characteristics 9-10
1.2 8-bit MCU status and development prospects 10-11
1.3 thesis on the significance 11
1.4 The main research paper topic 11
1.5 thesis on design processes 11-12
1.6 dissertation research topic 12
1.7 thesis on the main content of 12-15
Chapter MCU architecture design 15-27
2.1 MCU system architecture 15-16
2.2 pipeline design 16 -18
2.3 timing design 18
2.4 Interrupt System 18-19
2.5 data storage systems 19-20
2.6 Working register 20-21
2.6.1 Indirect Addressing Registers (IAR/R0) 20
2.6.2 counter / timer register (TCC/R1) 20 < br /> 2.6.3 program pointer register (PC/R2) 20
2.6.4 status flag register (SR/R3) 20
2.6.5 RAM Select Register ( RSR/R4) 20
2.6.6 PORT5 register (R5) 20-21
2.6.7 PORT6 register (R6) 21
2.6 .8 Interrupt Status Register (RF) 21
2.7 Special Function Registers 21-24
2.7.1 Accumulator (ACC) 21
2.7 .2 Control Register (IOC1) 21-22
2.7.3 PORT5 control register (IOC5) 22
2.7.4 PORT6 control register (IOC6) 22
2.7.5 pull-down control register (IOCB) 22
2.7.6 Drain Control Register (IOCC) 22-23
2.7.7 Pull-Up Control Register (IOCD) 23-24
2.7.8 WDT Control Register (IOCE) 24
2.7.9 Interrupt Mask Register (IOCF) 24 <br / > 2.8 I / O input and output units 24
2.9 Oscillator 24-27
Chapter MCU instruction system 27-41
3.1 MCU instructions outlined 27-28
3.1.1 control Instructions 28
3.1.2 Logic Operation Instructions 28
3.1.3-bit operating Class instruction 28
3.1.4 Data transfer type instructions 28
3.1.5 Special function class instruction 28
3.2 MCU addressing modes 28-29
3.2.1 Immediate addressing mode 28-29
3.2.2 Direct addressing mode 29
3.2.3 Indirect addressing mode 29
3.2.4-bit addressing mode 29
3.2.5 implied addressing 29
3.3 MCU instruction description 29-41
Chapter MCU main module design 41-57
4.1 ALU module design 41-45
4.1.1 Number indicates 41-42
4.1.2 flag 42-43
4.1.3 lookahead adder 43-44
4.1.4 ALU module implementation 44-45
4.2 PC pointer module design 45-47
4.2.1 address of the next instruction to achieve 45-47
4.2.2 read instructions from ROM 47
4.3 controller module design 47-49
4.3.1 Clock Generator module 47 < br /> 4.3.2 Directive Storage module design 47
4.3.3 decoding module design 47-48
4.3.4 Interrupt Control module design 48-49
4.4 Sleep / Wake module design 49-50
4.5 Reset module design 50-51
4.6 timer counter / watchdog module 51-52
4.7 I / O port module design 52-53
4.8 data storage module design 53-57
Chapter MCU validation and implementation 57-63
5.1 MCU authentication method 57
5.2 MCU digital part of the RTL code 57-58
5.2 .1 common code style 57-58
5.2.2 synthesizable code style 58
5.2.3 MCU digital part of the RTL code 58 < br /> 5.3 compiler design 58
5.4 system FPGA verification 58-60
5.5 backend design 60-63
5.5. a logic synthesis 60-61
5.5.2 layout 61-63
Chapter VI Conclusion 63-65
Thanks 65-67
References 67-69
During my study research 69
Related dissertations
- Research and Design of32-bit and Five-stage Pipelined CPU Based on FPGA
- The Research and Design of RISC Microprocessor Soft Core
- The Design and Implementation of32Bits RISC MCU Based on ARMV4Instruction Set
- Study and Realization of8-bit PIC16F62X-Instruction-Set-Compatible MCU IP Core
- Five Levels Pipeline PIC16C5x Series MCU IP CORE Design
- Building an 8-bits RISC Microcontroller in an FPGA
- Design of a CPU Core Compatible with MCS-96
- 32-bit MIPS architecture - based dual-emission pipeline logic design
- 32-bit MIPS pipeline architecture logic design
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- The Foam Insulation Greenhouse Monitoring System Design
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA