摘要
随着电子技术和信息技术的飞速发展,可编程逻辑器件已被应用到越来越广的领域。本文正是以此为背景介绍了可编程逻辑器件的设计方法和开发技术,并利用硬件描述语言 Verilog-HDL探索和设计了基于微程序控制的 8 位处理器。本设计采用了自顶向下的设计方法和模块化的设计思想,编写了处理器的代码,并具体阐述了寄存器,算术逻辑器件,指令译码模块,微指令形成模块的实现细节。通过对本设计的功能验证及仿真,表明该设计达到了预定的设计目标。在计算机组成原理教学中具有一定价值。
关键词: 处理器,Verilog-HDL,微程序控制,实验计算机
Abstract
With the rapid development of the electron & information technology, Programmable Logic Device has been applied to wider fields. This paper introduces the design methods and development technique for PLD, and also explores and designs a 8-bit CPU based on micro-instruction control and implemented by Verilog-HDL. This design applies the Top-Down design method and the modularization idea to the programming of CPU. Additionally, this paper explains the implementation of registers, ALU, the instruction decoders modular and the microinstruction generation modular in details. Through the simulation and verification by ModelSim, this design is proved to archive the expected functions. It can be applied to the teaching of Computer Architecture & Organization.
Keywords: CPU, Verilog-HDL, microinstruction control,experiment computer
目录