目录
Chapter 1
DIGITAL SYSTEMS AND INFORMATION2
11Information Representation 3
The Digital Computer5
Beyond the Computer6
More on the Generic Computer9
12Abstraction Layers in Computer
Systems Design11
13Number Systems14
Binary Numbers16
Octal and Hexadecimal Numbers17
Number Ranges19
14Arithmetic Operations 19
15Decimal Codes24
16Alphanumeric Codes25
ASCII Character Code25
Parity Bit28
17Gray Codes29
18Chapter Summary31
References32
Chapter 2
COMBINATIONAL LOGIC CIRCUITS34
21Binary Logic and Gates35
Binary Logic35
Logic Gates37
HDL Representations of Gates41
22Boolean Algebra42
Basic Identities of Boolean Algebra46
Algebraic Manipulation48
Complement of a Function51
23Standard Forms52
Minterms and Maxterms52
Sum of Products56
Product of Sums57
24TwoLevel Circuit Optimization58
Cost Criteria58
Map Structures60
TwoVariable Maps62
ThreeVariable Maps64
25Map Manipulation68
Essential Prime Implicants68
Nonessential Prime Implicants70
ProductofSums Optimization71
DontCare Conditions72
26ExclusiveOr Operator and Gates75
27Gate Propagation Delay77
28HDLs Overview79
29HDL Representations—VHDL83
210HDL Representations—Verilog91
211Chapter Summary98
References99
Chapter 3
COMBINATIONAL LOGIC DESIGN 101
31Beginning Hierarchical Design102
32Technology Mapping106
33Combinational Functional Blocks110
34Rudimentary Logic Functions110
ValueFixing,Transferring, and Inverting111
MultipleBit Functions 111
Enabling114
35Decoding116
Decoder and Enabling Combinations120
DecoderBased Combinational Circuits123
36Encoding125
Priority Encoder 126
Encoder Expansion127
37Selecting128
Multiplexers 128
MultiplexerBased Combinational Circuits138
38Iterative Combinational Circuits143
39Binary Adders145
Half Adder145
Full Adder146
Binary Ripple Carry Adder147
310Binary Subtraction149
Complements 150
Subtraction Using 2s Complement152
311Binary AdderSubtractors153
Signed Binary Numbers154
Signed Binary Addition and Subtraction156
Overflow 158
HDL Models of Adders 160
Behavioral Description 162
312Other Arithmetic Functions 165
Contraction 166
Incrementing 167
Decrementing 168
Multiplication by Constants 168
Division by Constants 170
Zero Fill and Extension 170
313Chapter Summary 171
References 171
Chapter 4
SEQUENTIAL CIRCUITS 173
41Sequential Circuit Definitions174
42Latches 177
SR and Latches 177
D Latch 180
43FlipFlops 180
EdgeTriggered FlipFlop182
Standard Graphics Symbols183
Direct Inputs 185
44Sequential Circuit Analysis186
Input Equations 186
State Table 187
State Diagram 189
Sequential Circuit Simulation192
45Sequential Circuit Design194
Design Procedure 194
Finding State Diagrams and
State Tables 195
State Assignment 202
Designing with D FlipFlops 203
Designing with Unused States 206
Verification 208
46StateMachine Diagrams and
Applications 210
StateMachine Diagram Model 212
Constraints on Input Conditions 214
Design Applications Using State
Machine Diagrams216
47HDL Representation for Sequential
Circuits—VHDL224
48HDL Representation for Sequential
Circuits—Verilog233
49FlipFlop Timing 242
410Sequential Circuit Timing 243
411Asynchronous Interactions 246
412Synchronization and Metastability 247
413Synchronous Circuit Pitfalls 253
414Chapter Summary 254
References 255
Chapter 5
DIGITAL HARDWARE
IMPLEMENTATION 258
51The Design Space 258
Integrated Circuits 258
CMOS Circuit Technology 259
Technology Parameters 265
52Programmable Implementation
Technologies267
ReadOnly Memory 269
Programmable Logic Array 271
Programmable Array Logic Devices 274
Field Programmable Gate Array 276
53Chapter Summary 281
References 281
Chapter 6
REGISTERS AND REGISTER
TRANSFERS 283
61Registers and Load Enable 284
62Register Transfers 287
63Register Transfer Operations 289
64Register Transfers in VHDL and Verilog 291
65Microoperations 292
Arithmetic Microoperations 293
Logic Microoperations 295
Shift Microoperations297
66Microoperations on a Single Register297
MultiplexerBased Transfers 298
Shift Registers 300
Ripple Counter 305
Synchronous Binary Counters 307
Other Counters 311
67RegisterCell Design 314
68Multiplexer and BusBased Transfers
for Multiple Registers 319
HighImpedance Outputs 321
ThreeState Bus 323
69Serial Transfer and Microoperations324
610Control of Register Transfers 327
611HDL Representation for Shift
Registers and Counters—VHDL344
612HDL Representation for Shift
Registers and Counters—Verilog346
613Microprogrammed Control 348
614Chapter Summary 350
References 351
Chapter 7
MEMORY BASICS353
71Memory Definitions 353
72RandomAccess Memory 354
Write and Read Operations 356
Timing Waveforms 357
Properties of Memory 359
73SRAM Integrated Circuits 359
74Array of SRAM ICs 365
75DRAM ICs 368
DRAM Cell 369
DRAM Bit Slice 370
76DRAM Types 374
Synchronous DRAM (SDRAM) 376
DoubleDataRate SDRAM
(DDR SDRAM) 378
RAMBUS DRAM (RDRAM)379
77Arrays of Dynamic RAM ICs380
78Chapter Summary 380
References 381
Chapter 8
COMPUTER DESIGN BASICS 383
81Introduction 384
82Datapaths 384
83The Arithmetic/Logic Unit387
Arithmetic Circuit 387
Logic Circuit 390
Arithmetic/Logic Unit 392
84The Shifter 393
85Datapath Representation 395
86The Control Word 397
87A Simple Computer Architecture403
Instruction Set Architecture403
Storage Resources 404
Instruction Formats 405
Instruction Specifications 407
88SingleCycle Hardwired Control410
Instruction Decoder 411
Sample Instructions and Program413
SingleCycle Computer Issues416
89MultipleCycle Hardwired Control417
810Chapter Summary 426
References 428
Chapter 9
INSTRUCTION SET ARCHITECTURE 430
91Computer Architecture Concepts 430
Basic Computer Operation Cycle432
Register Set 432
92Operand Addressing 433
ThreeAddress Instructions434
TwoAddress Instructions 434
OneAddress Instructions 435
ZeroAddress Instructions 435
Addressing Architectures 436
93Addressing Modes 439
Implied Mode 440
Immediate Mode 440
Register and RegisterIndirect Modes441
Direct Addressing Mode 441
Indirect Addressing Mode 442
Relative Addressing Mode 443
Indexed Addressing Mode 444
Summary of Addressing Modes445
94Instruction Set Architectures 446
95DataTransfer Instructions 447
Stack Instructions 447
Independent versus Memory
Mapped I/O449
96DataManipulation Instructions450
Arithmetic Instructions 450
Logical and BitManipulation Instructions451
Shift Instructions 453
97FloatingPoint Computations454
Arithmetic Operations 455
Biased Exponent 456
Standard Operand Format 457
98Program Control Instructions459
Conditional Branch Instructions460
Procedure Call and Return Instructions462
99Program Interrupt 464
Types of Interrupts 465
Processing External Interrupts 466
910Chapter Summary 467
References 468
Chapter 10
RISC AND CISC CENTRAL
PROCESSING UNITS 470
101Pipelined Datapath 471
102Pipelined Control 476
103The Reduced Instruction Set
Computer 480
Instruction Set Architecture480
Addressing Modes483
Datapath Organization484
Control Organization 487
Data Hazards 489
Control Hazards 496
104The Complex Instruction Set
Computer500
ISA Modifications 502
Datapath Modifications 503
Control Unit Modifications505
Microprogrammed Control506
Microprograms for Complex
Instructions508
105More on Design 511
Advanced CPU Concepts 512
Recent Architectural Innovations515
106Chapter Summary 518
References 519
Chapter 11
INPUTOUTPUT AND
COMMUNICATION 522
111Computer I/O522
112Sample Peripherals 523
Keyboard 523
Hard Drive 524
Liquid Crystal Display Screen 526
I/O Transfer Rates 529
113I/O Interfaces 529
I/O Bus and Interface Unit 530
Example of I/O Interface 531
Strobing 532
Handshaking 534
114Serial Communication 535
Synchronous Transmission 536
The Keyboard Revisited 537
A PacketBased Serial I/O Bus 538
115Modes of Transfer 541
Example of ProgramControlled
Transfer542
InterruptInitiated Transfer 543
116Priority Interrupt 545
Daisy Chain Priority 545
Parallel Priority Hardware 547
117Direct Memory Access 548
DMA Controller 549
DMA Transfer 551
118Chapter Summary 552
References 552
Chapter 12
MEMORY SYSTEMS 555
121Memory Hierarchy555
122Locality of Reference558
123Cache Memory 560
Cache Mappings 562
Line Size 567
Cache Loading 568
Write Methods 569
Integration of Concepts570
Instruction and Data Caches572
MultipleLevel Caches573
124Virtual Memory 573
Page Tables 575
Translation Lookaside Buffer577
Virtual Memory and Cache579
125Chapter Summary579
References580
第1章
数字系统与信息
11信息表示
数字计算机
计算机外围扩展
通用计算机详解
12计算机系统设计的抽象层次
13数字系统
二进制数
八进制与十六进制数
数值范围
14算术运算
15十进制编码
16字母数字编码
ASCII字符编码
奇偶校验位
17格雷码
18本章小结
参考文献
第2章
组合逻辑电路
21二进制逻辑与门电路
二进制逻辑
逻辑门
HDL门级建模
22布尔代数
布尔代数的基本定律
代数运算
函数互补
23标准形式
最小项与最大项
积之和
和之积
24两级电路优化
成本准则
卡诺图结构
二变量卡诺图
三变量卡诺图
25卡诺图操作
实质蕴涵项
非实质蕴涵项
和之积优化
无关条件
26异或运算符与门电路
27门电路传输延迟
28HDL概述
29HDL表示——VHDL
210HDL表示——Verilog
211本章小结
参考文献
第3章
组合逻辑设计
31层次化设计入门
32工艺映射
33组合功能模块
34基本逻辑函数
值固定/传输/取反
多比特函数
使能控制
35解码器
解码器与使能组合
基于解码器的组合电路
36编码器
优先级编码器
编码器扩展
37选择器
多路复用器
基于多路复用器的组合电路
38迭代组合电路
39二进制加法器
半加器
全加器
二进制行波进位加法器
310二进制减法
补码系统
二进制补码减法
311加减法器
带符号二进制数
带符号加减法
溢出检测
HDL加法器模型
行为级描述
312其他算术函数
逻辑优化
递增
递减
常数乘法
常数除法
零填充与符号扩展
313本章小结
参考文献
第4章
时序电路
41时序电路定义
42锁存器
SR与锁存器
D锁存器
43触发器
边沿触发器
标准图形符号
直接输入端口
44时序电路分析
输入方程
状态表
状态图
时序电路仿真
45时序电路设计
设计流程
状态图与状态表推导
状态编码
D触发器设计
未用状态设计
设计验证
46状态机图与应用
状态机模型
输入条件约束
状态机设计实例
47时序电路HDL表示——VHDL
48时序电路HDL表示——Verilog
49触发器时序
410时序电路时序
411异步交互
412同步与亚稳态
413同步电路缺陷
414本章小结
参考文献
第5章
数字硬件实现
51设计空间
集成电路
CMOS电路技术
工艺参数
52可编程实现技术
只读存储器
可编程逻辑阵列
可编程阵列逻辑器件
现场可编程门阵列
53本章小结
参考文献
第6章
寄存器与寄存器传输
61寄存器与加载使能
62寄存器传输
63寄存器传输操作
64VHDL与Verilog中的寄存器传输
65微操作
算术微操作
逻辑微操作
移位微操作
66单寄存器微操作
基于多路选择器的传输
移位寄存器
行波计数器
同步二进制计数器
其他计数器
67寄存器单元设计
68多寄存器选择器与总线传输
高阻态输出
三态总线
69串行传输与微操作
610寄存器传输控制
611移位寄存器与计数器的HDL
表示——VHDL
612移位寄存器与计数器的HDL
表示——Verilog
613微程序控制
614本章小结
参考文献
第7章
存储器
71存储器定义
72随机存取存储器
读写操作
时序波形
存储器特性
73SRAM集成电路
74SRAM集成电路阵列
75DRAM集成电路
DRAM存储单元
DRAM位片结构
76DRAM类型
同步DRAM(SDRAM)
双倍数据速率SDRAM(DDR SDRAM)
RAMBUS DRAM(RDRAM)
77DRAM集成电路阵列
78本章小结
参考文献
第8章
计算机设计
81引言
82数据通路
83算术逻辑部件概述
算术电路
逻辑电路
算术逻辑部件
84移位器
85数据通路表示
86控制字
87简单计算机体系结构
指令集架构
存储资源
指令格式
指令规范
88单周期硬连线控制
指令解码器
示例指令与程序
单周期计算机问题
89多周期硬连线控制
810本章小结
参考文献
第9章
指令集架构
91计算机架构概念
基本计算机操作周期
寄存器组
92操作数寻址
三地址指令
二地址指令
一地址指令
零地址指令
寻址体系结构
93寻址模式
隐含模式
立即数模式
寄存器与寄存器间接模式
直接寻址模式
间接寻址模式
相对寻址模式
变址寻址模式
寻址模式总结
94多种指令集架构
95数据传输指令
栈指令
独立I/O与内存映射I/O
96数据操作指令
算术指令
逻辑与位操作指令
移位指令
97浮点运算
算术运算
偏置指数
标准操作数格式
98程序控制指令
条件分支指令
过程调用与返回指令
99程序中断
中断类型
外部中断处理
910本章小结
参考文献
第10章
RISC与CISC中央处理器
101流水线数据通路
102流水线控制
103精简指令集计算机
指令集体系结构
寻址模式
数据通路组织
控制组织
数据冒险
控制冒险
104复杂指令集计算机
ISA修改
数据通路修改
控制单元修改
微程序控制
复杂指令的微程序
105深入设计
高级CPU概念
架构创新
106本章小结
参考文献
第11章
输入/输出与通信
111计算机I/O系统
112典型外设
键盘
硬盘驱动器
液晶显示屏
I/O传输速率
113I/O接口
I/O总线与接口单元
I/O接口示例
选通控制
握手协议
114串行通信
同步传输
键盘接口再探
基于数据包的串行I/O总线
115传输模式
程序控制传输示例
中断驱动传输
116优先级中断
菊花链优先级
并行优先级硬件
117直接存储器访问(DMA)
DMA控制器
DMA传输
118本章小结
参考文献
第12章
存储器系统
121存储器层次结构
122访问局部性原理
123高速缓存
缓存映射方式
行大小
缓存加载
写入策略
概念整合
指令与数据缓存
多级缓存
124虚拟存储器
页表
转译后备缓冲器
虚拟内存与缓存
125本章小结
参考文献
