School of Computer Science and Technology, HIT
第四章 处理器体系结构
——逻辑设计
教 师:吴锐
计算机科学与技术学院
哈尔滨工业大学
Bryant andBryant andBryant and O’HallaronO’HallaronO’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition, Computer Systems: A Programmer’s Perspective, Third Edition, Computer Systems: A Programmer’s Perspective, Third Edition 1
School of Computer Science and Technology, HIT
逻辑设计概述
基本的硬件需求
通讯
如何将值从一个地方移动到另外一个地方
计算
存储
比特是我们的朋友
全部用0和1表示
通讯
电线上的低或高电压
计算
计算布尔函数
存储
存储信息位
Bryant andBryant andBryant and O’HallaronO’HallaronO’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition, Computer Systems: A Programmer’s Perspective, Third Edition, Computer Systems: A Programmer’s Perspective, Third Edition 2
School of Computer Science and Technology, HIT
数字信号
0 1 0
电压
时间
用电压阈值从连续信号中提取离散值
最简单版本:1位信号
或者是高位,或者是低位
在高位和低位之间有保护范
不会收到噪音或者低质量的电路因素影响
可以使得电路简单、规模小、速度快
Bryant andBryant andBryant and O’HallaronO’HallaronO’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition, Computer Systems: A Programmer’s Perspective, Third Edition, Computer Systems: A Programmer’s Perspective, Third Edition 3
School of Computer Science and Technology, HIT
通过逻辑门进行计算
And Or