4-Bit MCU VERILOG Softcore Design
- Author
- ShaShaoDong
- Advisor
- ShiLongXing , JuShuiRong
- School
- Southeast University
- Major
- Electronics and Communication Engineering
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 313
- Citations
- 0
Abstract
As integrated circuit design enterprises, the conversion from traditional design methods to the design of the hardware description language method has become inescapable. Especially in conjunction with the actual work of the project, to build their own IP library, innovation, accelerate development efforts can be based on the increasingly fierce competition in the IC design industry. The study and practice of the subject will help the company to establish the soft core of the MCU. On this basis, extending the company's products. As traditional integrated circuit design enterprises, the technical basis of the lack of advanced design methods and abundant capital, be able to build their own Top-down design process to complete product design are gradual. This thesis is based Cikuan MCU the soft core applications to the development of infrared remote control transmitter series circuit. After this soft-core FPGA verification, and to complete the development of infrared remote control transmitter circuit samples after silicon verification now in a kind of stage. Led the team to the gradual establishment of a Top-Down design flow, and continue to develop the 8-bit MCU soft core can also be applied to the actual circuit. This microcontroller design instruction system has 68 operating instructions, four soft-core microprocessor mcu can complete the data transfer, data operations, logical operations, to determine comparative, jump, look-up table and subroutine calls and other micro- operation. Provides two ways of working timer. Throughout the design process, first developed MCU design specification, design architecture is defined and divided into sub-modules, the internal registers are defined; followed the instruction table, rational design of instruction execution of the state machine; then complete the sequence of state machine module, the data channel module, bus control module, timer module the module Verilog coding design; software development program the remote control transmitter circuit subsequently been completely self-test verification and FPGA prototype verification. The key point of the design for the design of the instruction execution state level, including 8 machine clock cycles per instruction cycle, to fetch translation, refers to the executive refers RAM read, register write, RAM write, etc.; dual cycle or tri-cycle an instruction operation, the operating status stored in the operand execute. Another focused on the design of the state machine and register timing the design of multi-byte cycle instruction operation timing is critical, especially jump multi-byte instruction operation and Jump multi-cycle instruction operation need to focus on designed. Completed the entire MCU code design, the paper, on the basis of some common processes, combined with major design tools design tools, based on existing features, Top-down design development process, to develop the interior design coded reference specification .
Table of contents
Summary 4-5
Abstract 5-8
first chapter 8-12
1.1 Origin 8-9
1.1.1 Design method characteristics the 8
1.1.2 Purpose the 8-9 1.2 IC design
method of comparing 9-11 <br / > 1.2.1 chip reverse design 9
1.2.2 ASIC circuit design 9-10
1.2.3 SoC circuit design 10-11 <br / > 1.3 reusable design 11-12
Chapter II soft core design flow 12-19
2.1 general design process 12
2.2 based RTL design methods and processes 12-17
the 2.2.1 system architecture and norms established 13
2.2.2 Functional Design Specification 13-14
2.2.3 encoded Design 14
2.2.4 verify 14-16
the 2.2.5 logic comprehensive 16-17
2.3 based tools RTL design flow 17-19
third soft core design 19-43
3.1 Overview 19-20
3.1.1 soft-core major organizational characteristics 19-20
3.1.2 pins, instructions 20
3.2 the registers definition of 20-24
3.3 the CPU functional modules 24-27
3.4 module structure described 27
3.5 module schema 27-40
3.5.1 sequence state machine module (SEQUENCER.V) 27-32
3.5.2 data channel module (DATAPATH.V) 32-35
3.5.3 buses, control module: BUSCON.V, 35-36 < br /> 3.5.4 Timer 36-39
3.5.5 Watchdog Timer module 39
3.5.6 waveform generator module: CARR.V 39-40
3.5.7 the clock produce the module: STOP_CLK.V 40
the the 3.5.8 program memory: ROM.V nbsp,; 40
3.5.9 Data Memory: RAM.V 40
3.6 timing diagram 40-41
3.7 internal registers reset status 41-43
Chapter instruction set 43-54
4.1 instruction 43
4.2 symbols the 43-44
4.3 instruction types 44-49
4.3 pass between .1 register instruction 44-45
4.3.2 RAM address instruction nbsp a; 45
4.3.3 RAM and register transfer instructions 45
4.3.4 arithmetic operation instruction the 45-46
4.3.5 bit manipulation instructions 46
4.3.6 compare operating instructions 46
4.3.7 jump instruction 46-47
4.3.8 subroutine call instruction 47
4.3.9 Timer operation 47-48
4.3. 10 input / output instructions 48
4.3.11 carrier control operating instructions 48
4.3.12 operating instructions 48-49
4.4 script Table 49-54
Chapter simulation validation 54-62
5.1 functional verification 54-55
5.1.1 port the CARR key output waveform the 5.2 instruction validation 54-55
55-60
5.2.1 Instruction Ar operating waveforms are found; 55-56
5.2.2 Directive BL p a operating waveform 56-57
the 5.2.3 instructions DEY operating 57
5.2.4 Directive RT operation waveform 57-58
5.2.5 operating instructions SEA n waveform 58-59
5.2.6 Directive TABP p operation waveform nbsp the; 59-60
5.3 logic synthesis and physical verification 60-62
Chapter VI Conclusion to References 62-63
63-64
Author 64-
Related dissertations
- Design of 8-bit RISC MCU Soft Core
- Research and Implementation of Model Machine Based on Combinational Logic Controller
- Optimization of Opus Decoders in Arm Cortex-A8
- The Top-Down Design on the Organizational System of the External Quality Assurance in Higher Education in China
- Research and Application of Rapid Design for EMU Car Body Based on Product Platform
- Study AndDesignof Top-Down Virtual Assemblysystem
- Perception and response to physical interaction design based on Microcontroller
- Research on the Development of the Virtual Construction System and Key Technology of Tunnel Boring Machine
- Research and Design of a Simulation Platform Based on SPARC v8Architecture
- Research on the Parameterized Dsgign of Air Nailer Based on Top-Down Technology
- Optimization of AAC Decoders in ARM Cortex-A8
- The Transplantation and Optimization of H.264Decoder Based on ARM Cortex-A8
- The Application of HDLC Frame Transceiver in TDM/Ethernet Interface Circuit
- The System Modeling and Circuit Design of a Delta-sigma Fractional-N Frequency Synthesizer
- The Design of Soft-core in Special Dynamic Testing System
- Research on Low Cost Test Method for RTL Data Path under Power Constraints
- Design for the High Precision Temperature Control System of External Cavity Semiconductor Laser
- The Read-Out Integrated Circuit System Design for Uncooled Infrared Focal Plane Array Based on Verilog-AMS
- Design and Development of Programmable Automation Controller Based on ARM and Linux
- Study on the dynamic characteristics of hydraulic excavator working device