基于组合逻辑控制器的模型机研究与实现
发布时间:2018-02-13 13:23
本文关键词: 模型机 CPLD RISC 组合逻辑 控制器 指令系统 出处:《河北工业大学》2012年硕士论文 论文类型:学位论文
【摘要】:《计算机组成原理》是计算机专业的一门核心课程,该课程涉及学科知识较多,需要硬件,软件,数字电路,程序设计方法学等课程的支撑,让学生们参与课程实验是学好这门课程的一个非常有效的方法,因此,该课程的实验教学也越来越受到各所高校的重视。而该课程所用到的模型机根据控制器的不同,分为组合逻辑控制器模型机和微程序控制器模型机。为了丰富组成原理课程教学,完善组成原理课程设计,认识和理解CPU的内部结构和工作原理,本文设计实现了组合逻辑控制器模型机。 组合逻辑控制器模型机按照冯·诺依曼结构设计,总线宽度设为8位,指令系统的设计借鉴了精简指令系统(RISC),包括23条功能指令和3条面板指令,主要由简单并且使用频率高的指令构成,包括了寄存器操作类指令、内存访问类指令、跳转类指令和输入输出指令。控制器部分采用CPLD设计,用指令译码器完成对指令的译码,通过分析指令执行过程,,确定机器周期节拍数为8个,使大部分指令能在一个周期内完成,个别复杂指令由两个周期完成指令执行任务,然后通过分析控制信号的形成过程,列出控制信号的逻辑表达式,最终搭建出组合逻辑电路,完成控制器部分的设计,和外围运算器和存储器组成完整的模型机。 与微程序控制器模型机相比,组合逻辑控制器模型机在速度上有很大的优势,而由CPLD实现的控制器有效地增强了设计的灵活性,并缩小了机器体积,提高了整体性能。
[Abstract]:The principle of computer composition is a core course of computer science, which involves a lot of knowledge and needs the support of hardware, software, digital circuit, programming methodology and so on. It is a very effective way to learn the course well by involving students in the course experiment. Therefore, the experimental teaching of the course is paid more and more attention by the universities and colleges, and the model machine used in the course is different according to the controller. It is divided into combinatorial logic controller model machine and microprogram controller model machine. In order to enrich the teaching of composing principle course, perfect the design of composition principle course, understand and understand the internal structure and working principle of CPU, In this paper, a combined logic controller model machine is designed and implemented. The combinational logic controller model machine was designed with a Von Neumann structure, and the bus width was set to 8 bits. The instruction system was designed using the reduced instruction system (RISC), which consists of 23 functional instructions and 3 panel instructions. It is mainly composed of simple and high-frequency instructions, including register operation instruction, memory access class instruction, jump class instruction and input and output instruction. The controller part is designed by CPLD, and the instruction decoder is used to decode the instruction. By analyzing the instruction execution process, it is determined that the number of periodic beats of the machine is 8, so that most of the instructions can be completed in one cycle, and some complex instructions are executed by two cycles, and then the forming process of the control signal is analyzed. The logic expression of the control signal is listed, and the combinational logic circuit is built up finally, the controller part is designed, and the peripheral arithmetic and memory constitute the complete model machine. Compared with the microprogramming controller model machine, the combinational logic controller model machine has a great advantage in speed, while the controller realized by CPLD effectively enhances the design flexibility, reduces the machine volume and improves the overall performance.
【学位授予单位】:河北工业大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP333
【参考文献】
相关期刊论文 前10条
1 陈媛;黄贤英;;基于EDA技术的计算机组成原理实验教学探索[J];重庆工学院学报(自然科学版);2007年02期
2 赵正平,陈静;计算机控制器的设计与实现分析[J];阜阳师范学院学报(自然科学版);2003年01期
3 赵硕,杨欣宇;计算机组成原理课程的设计性实验[J];高师理科学刊;2005年02期
4 梁明海;;《计算机组成原理》教学模型机的设计与实现[J];广西工学院学报;2007年04期
5 乔道迹;;《计算机组成原理》课程复杂模型机的深度开发[J];装备制造技术;2009年05期
6 李英,汤作华,赵勇;对NJS-Ⅱ型计算机组成实验仪的改进[J];华东地质学院学报;2002年02期
7 方恺晴;张洪杰;;计算机组成原理实验课程教学新方法的探讨[J];计算机教育;2007年04期
8 马汉达;赵蕙;;计算机组成原理实验教学改革[J];计算机教育;2010年17期
9 刘昭,黄令仪,曾烈光;一种高效的硬布线控制CPU的设计方法[J];微电子学;2002年02期
10 李萍,陈宙颖;一台简单的八位计算机的设计与实现[J];宁夏工学院学报;1997年04期
本文编号:1508262
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1508262.html