140 likes | 153 Views
This lecture covers the introduction to system designs, components, specifications, and implementation. It includes topics such as data subsystem, control subsystem, storage modules, operators, interconnections, and sequential machines.
E N D
CSE 140 Lecture 15System Designs Professor CK Cheng CSE Dept. UC San Diego
System Designs • Introduction • Components • Spec • Implementation
I. Introduction 64 Data Subsystem 64 Data Inputs Data Outputs Control Signals Conditions Control Subsystem Control Outputs Control Inputs go done (ready)
Introduction Functions Data storage Data transformation Control of data transfers Control of transformations Control of the sequential system Components Storage Modules Operators Interconnections Sequential machines Data Subsystem Control Subsystem
Components • Storage • Operator • Interconnect
Components: Storage Modules, Register D CLK LD CLR Q Q(t+1) = (0, 0, .. , 0) if CLR = 1 = D if LD = 1 and CLR = 0 = Q(t) if LD = 0 and CLR = 0
Storage Component: Registers, Array of Registers D LD c Registers: If c then R D R Array of Registers: Sharing connections and controls D Decoder address c R
Storage Components: RAM, FIFO, LIFO RAM RAM Decoder Address Size of RAM larger than registers FIFO (First in first out) LIFO (Stack)
Functional Modules B A CASE Op-Sel Is When F1, Z <= A op1 B When F2, Z <= A op2 B . . End CASE Operation selection Z
Interconnect Modules (Wires and Switches • Single Lines • Band of Wires • Shared Buses • Crossbar 1. Single line (shifting, time sharing)
2. Band of Wires (BUS) 3. Shared Bus switch switch switch switch ….. R1 R2 R3 Rm Switches x x DEMUX MUX c c d 1 2 3 .. N 1 2 3 .. N y y
4. Crossbar (Multiple buses running horizontally) m simultaneous transfers are possible, but more expensive. 64 Bus 1 R1 Bus m Rm MUX MUX MUX …
Program: • Objects (Registers, Outputs of combinational logic) • Operation • Assignment • Sequencing Example: Signal R1, R2, Bit Vector V (15 down to 0); Z A + B ( A, B, Z need to be defined) R1 R2 Begin End if ( ) then ( ), ENDIF;
S1 Ex. If C then R1 S1 Else R2 S2 Endif; R1 LD S2 C R2 If C1 then X A Else X B + C Endif If C2 then G X Endif A B C Adder 1 0 MUX C1 G C2 CLK