|
|
1 | (6) |
|
|
1 | (4) |
|
|
5 | (2) |
|
2 Number Formats and Boolean Algebra |
|
|
7 | (22) |
|
|
8 | (4) |
|
2.1.1 Numbers, Sets, and Logical Connectives |
|
|
8 | (1) |
|
2.1.2 Sequences and Bit-Strings |
|
|
9 | (3) |
|
|
12 | (2) |
|
|
14 | (1) |
|
|
15 | (3) |
|
2.5 Two's Complement Numbers |
|
|
18 | (2) |
|
|
20 | (9) |
|
|
23 | (2) |
|
|
25 | (1) |
|
2.6.3 Disjunctive Normal Form |
|
|
26 | (3) |
|
|
29 | (54) |
|
3.1 Digital Gates and Circuits |
|
|
30 | (3) |
|
|
33 | (8) |
|
|
41 | (13) |
|
3.3.1 Digital Clocked Circuits |
|
|
41 | (3) |
|
3.3.2 The Detailed Hardware Model |
|
|
44 | (5) |
|
|
49 | (5) |
|
|
54 | (1) |
|
3.5 Drivers and Main Memory |
|
|
54 | (21) |
|
3.5.1 Open Collector Drivers and Active Low Signal |
|
|
55 | (1) |
|
3.5.2 Tristate Drivers and Bus Contention |
|
|
56 | (4) |
|
3.5.3 The Incomplete Digital Model for Drivers |
|
|
60 | (1) |
|
3.5.4 Self Destructing Hardware |
|
|
61 | (3) |
|
3.5.5 Clean Operation of Tristate Buses |
|
|
64 | (5) |
|
3.5.6 Specification of Main Memory |
|
|
69 | (3) |
|
3.5.7 Operation of Main Memory via a Tristate Bus |
|
|
72 | (3) |
|
3.6 Finite State Transducers |
|
|
75 | (8) |
|
3.6.1 Realization of Moore Automata |
|
|
76 | (2) |
|
3.6.2 Precomputing Outputs of Moore Automata |
|
|
78 | (2) |
|
3.6.3 Realization of Mealy Automata |
|
|
80 | (1) |
|
3.6.4 Precomputing Outputs of Mealy Automata |
|
|
81 | (2) |
|
|
83 | (16) |
|
4.1 Basic Random Access Memory |
|
|
83 | (2) |
|
4.2 Single-Port RAM Designs |
|
|
85 | (7) |
|
4.2.1 Read Only Memory (ROM) |
|
|
85 | (1) |
|
|
86 | (3) |
|
|
89 | (1) |
|
|
90 | (2) |
|
4.3 Multi-port RAM Designs |
|
|
92 | (7) |
|
4.3.1 3-port RAM for General Purpose Registers |
|
|
92 | (2) |
|
|
94 | (1) |
|
4.3.3 2-port Multi-bank RAM-ROM |
|
|
95 | (2) |
|
4.3.4 2-port Cache State RAM |
|
|
97 | (2) |
|
|
99 | (18) |
|
5.1 Adder and Incrementer |
|
|
99 | (2) |
|
|
101 | (5) |
|
5.3 Arithmetic Logic Unit (ALU) |
|
|
106 | (2) |
|
|
108 | (5) |
|
5.5 Branch Condition Evaluation Unit |
|
|
113 | (4) |
|
6 A Basic Sequential MIPS Machine |
|
|
117 | (44) |
|
|
118 | (2) |
|
|
118 | (1) |
|
|
119 | (1) |
|
|
119 | (1) |
|
|
120 | (13) |
|
6.2.1 Configuration and Instruction Fields |
|
|
120 | (3) |
|
6.2.2 Instruction Decoding |
|
|
123 | (1) |
|
|
124 | (2) |
|
6.2.4 Shift Unit Operations |
|
|
126 | (1) |
|
|
127 | (2) |
|
6.2.6 Sequences of Consecutive Memory Bytes |
|
|
129 | (1) |
|
|
130 | (2) |
|
|
132 | (1) |
|
6.3 A Sequential Processor Design |
|
|
133 | (28) |
|
6.3.1 Software Conditions |
|
|
133 | (1) |
|
6.3.2 Hardware Configurations and Computations |
|
|
134 | (1) |
|
|
135 | (3) |
|
6.3.4 Defining Correctness for the Processor Design |
|
|
138 | (2) |
|
6.3.5 Stages of Instruction Execution |
|
|
140 | (1) |
|
|
141 | (1) |
|
|
142 | (1) |
|
6.3.8 Instruction Decoder |
|
|
143 | (4) |
|
6.3.9 Reading from General Purpose Registers |
|
|
147 | (1) |
|
6.3.10 Next PC Environment |
|
|
147 | (3) |
|
|
150 | (1) |
|
6.3.12 Shift Unit Environment |
|
|
151 | (1) |
|
|
152 | (1) |
|
6.3.14 Collecting Results |
|
|
153 | (1) |
|
|
153 | (1) |
|
6.3.16 Shift for Store Environment |
|
|
154 | (2) |
|
|
156 | (2) |
|
|
158 | (1) |
|
6.3.19 Writing to the General Purpose Register File |
|
|
159 | (2) |
|
|
161 | (46) |
|
7.1 MIPS ISA and Basic Implementation Revisited |
|
|
162 | (5) |
|
|
162 | (1) |
|
7.1.2 Implementing the Delayed PC |
|
|
163 | (1) |
|
7.1.3 Pipeline Stages and Visible Registers |
|
|
164 | (3) |
|
7.2 Basic Pipelined Processor Design |
|
|
167 | (23) |
|
7.2.1 Transforming the Sequential Design |
|
|
167 | (5) |
|
7.2.2 Scheduling Functions |
|
|
172 | (3) |
|
7.2.3 Use of Invisible Registers |
|
|
175 | (1) |
|
7.2.4 Software Condition SC-1 |
|
|
176 | (1) |
|
7.2.5 Correctness Statement |
|
|
177 | (1) |
|
7.2.6 Correctness Proof of the Basic Pipelined Design |
|
|
178 | (12) |
|
|
190 | (6) |
|
|
190 | (1) |
|
7.3.2 Forwarding Circuits |
|
|
190 | (1) |
|
7.3.3 Software Condition SC-2 |
|
|
191 | (1) |
|
7.3.4 Scheduling Functions Revisited |
|
|
192 | (1) |
|
|
193 | (3) |
|
|
196 | (11) |
|
|
196 | (1) |
|
|
197 | (1) |
|
7.4.3 Correctness Statement |
|
|
198 | (1) |
|
7.4.4 Scheduling Functions |
|
|
198 | (5) |
|
|
203 | (2) |
|
|
205 | (2) |
|
8 Caches and Shared Memory |
|
|
207 | (104) |
|
8.1 Concrete and Abstract Caches |
|
|
209 | (10) |
|
8.1.1 Abstract Caches and Cache Coherence |
|
|
210 | (2) |
|
8.1.2 Direct Mapped Caches |
|
|
212 | (2) |
|
8.1.3 k-way Associative Caches |
|
|
214 | (2) |
|
8.1.4 Fully Associative Caches |
|
|
216 | (3) |
|
|
219 | (5) |
|
|
219 | (1) |
|
8.2.2 Memory and Memory Systems |
|
|
219 | (1) |
|
8.2.3 Accesses and Access Sequences |
|
|
220 | (1) |
|
8.2.4 Sequential Memory Semantics |
|
|
221 | (1) |
|
8.2.5 Sequentially Consistent Memory Systems |
|
|
222 | (1) |
|
8.2.6 Memory System Hardware Configurations |
|
|
223 | (1) |
|
8.3 Atomic MOESI Protocol |
|
|
224 | (11) |
|
|
224 | (2) |
|
8.3.2 Defining the Protocol by Tables |
|
|
226 | (2) |
|
8.3.3 Translating the Tables into Switching Functions |
|
|
228 | (2) |
|
8.3.4 Algebraic Specification |
|
|
230 | (4) |
|
8.3.5 Properties of the Atomic Protocol |
|
|
234 | (1) |
|
8.4 Gate Level Design of a Shared Memory System |
|
|
235 | (26) |
|
8.4.1 Specification of Interfaces |
|
|
236 | (4) |
|
8.4.2 Data Paths of Caches |
|
|
240 | (7) |
|
8.4.3 Cache Protocol Automata |
|
|
247 | (2) |
|
8.4.4 Automata Transitions and Control Signals |
|
|
249 | (8) |
|
|
257 | (3) |
|
|
260 | (1) |
|
|
261 | (50) |
|
|
261 | (2) |
|
8.5.2 Silent Slaves and Silent Masters |
|
|
263 | (1) |
|
8.5.3 Automata Synchronization |
|
|
264 | (5) |
|
8.5.4 Control of Tristate Drivers |
|
|
269 | (5) |
|
8.5.5 Protocol Data Transmission |
|
|
274 | (3) |
|
|
277 | (2) |
|
8.5.7 Accesses of the Hardware Computation |
|
|
279 | (22) |
|
8.5.8 Relation with the Atomic Protocol |
|
|
301 | (4) |
|
8.5.9 Ordering Hardware Accesses Sequentially |
|
|
305 | (3) |
|
8.5.10 Sequential Consistency |
|
|
308 | (2) |
|
|
310 | (1) |
|
|
311 | (34) |
|
9.1 Compare-and-Swap Instruction |
|
|
312 | (5) |
|
9.1.1 Introducing CAS to the ISA |
|
|
312 | (1) |
|
9.1.2 Introducing CAS to the Sequential Processor |
|
|
313 | (4) |
|
9.2 Multi-core ISA and Reference Implementation |
|
|
317 | (9) |
|
9.2.1 Multi-core ISA Specification |
|
|
317 | (1) |
|
9.2.2 Sequential Reference Implementation |
|
|
318 | (3) |
|
9.2.3 Simulation Relation |
|
|
321 | (2) |
|
9.2.4 Local Configurations and Computations |
|
|
323 | (2) |
|
9.2.5 Accesses of the Reference Computation |
|
|
325 | (1) |
|
9.3 Shared Memory in the Multi-core System |
|
|
326 | (19) |
|
|
326 | (1) |
|
9.3.2 Invisible Registers and Hazard Signals |
|
|
327 | (2) |
|
9.3.3 Connecting Interfaces |
|
|
329 | (1) |
|
9.3.4 Stability of Inputs of Accesses |
|
|
330 | (1) |
|
9.3.5 Relating Update Enable Signals and Ends of Accesses |
|
|
331 | (3) |
|
9.3.6 Scheduling Functions |
|
|
334 | (1) |
|
|
334 | (2) |
|
|
336 | (5) |
|
|
341 | (4) |
References |
|
345 | (2) |
Index |
|
347 | |