CSE 140 Lecture 13 System Designs

Slides:



Advertisements
Similar presentations
CS 140 Lecture 16 System Designs Professor CK Cheng CSE Dept. UC San Diego 1.
Advertisements

Lecture 23: Registers and Counters (2)
1 CS 140L Lecture 8 System Design Professor CK Cheng CSE Dept. UC San Diego.
CPT 310 Logic and Computer Design Instructor: David LublinerPhone Engineering Technology Dept.Cell
CS 140L Lecture 5 Professor CK Cheng CSE Dept. UC San Diego.
1 CS 140 Lecture 12 Standard Combinational Modules Professor CK Cheng CSE Dept. UC San Diego.
CS 140 Lecture 17 Professor CK Cheng 11/26/02. System Designs 1.Intro 2.Spec 3.Implementation.
CS 140 Lecture 11 Professor CK Cheng 5/09/02. Part III - Standard Modules Decoder, Encoder, Mux, DeMux, Shifter, Adder, Multiplexer Interconnect: Decoder,
1 CS 140 Lecture 19 Sequential Modules Professor CK Cheng CSE Dept. UC San Diego.
CSE 140 Lecture 8 Sequential Networks Professor CK Cheng CSE Dept. UC San Diego 1.
CS 140 Lecture 16 System Designs Professor CK Cheng CSE Dept. UC San Diego 1.
CS 140L Lecture 5: Counters Professor CK Cheng CSE Dept. UC San Diego 1.
CSE 140L Lecture 4 Flip-Flops, Shifters and Counters Professor CK Cheng CSE Dept. UC San Diego.
CS 140 Lecture 13 Combinational Standard Modules Professor CK Cheng CSE Dept. UC San Diego 1.
1 Lecture 1: Introduction to Digital Logic Design CK Cheng CSE Dept. UC San Diego.
1 Lecture 1: Introduction to Digital Logic Design CK Cheng CSE Dept. UC San Diego.
CS 140 Lecture 17 System Designs III Professor CK Cheng CSE Dept. UC San Diego 1.
CS 140 Lecture 17 System Designs III Professor CK Cheng CSE Dept. UC San Diego 1.
CS 140 Lecture 12 Professor CK Cheng 11/07/02. Part III - Standard Modules Decoder, Encoder, Mux, DeMux, Shifter, Adder, Multiplexer Interconnect: Decoder,
CS 140 Lecture 18 Professor CK Cheng 12/3/02. Standard Sequential Modules 1.Register 2.Shift Register 3.Counter.
CS 140L Lecture 9 Professor CK Cheng 6/03/02. transistors modules sequential machine system 1.Adders, Muxes 2.F-Fs and counters 3.Finite State Machine.
1 CS 140 Lecture 18 Sequential Modules: Serial Adders, Multipliers Professor CK Cheng CSE Dept. UC San Diego.
Lecture 1: Introduction to Digital Logic Design CK Cheng Tuesday 4/1/02.
1 Lecture 1: Introduction to Digital Logic Design CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer Science.
CS 140 Lecture 19 Professor CK Cheng 12/05/02. Sequential Machine Standard Modules Combinational Sequential System Designs.
CSE 140 Lecture 15 System Designs Professor CK Cheng CSE Dept. UC San Diego 1.
CS 140L Lecture 4 Professor CK Cheng 10/22/02. 1)F-F 2)Shift register 3)Counter (Asynchronous) 4)Counter (Synchronous)
9/15/09 - L25 Registers & Load Enable Copyright Joanne DeGroat, ECE, OSU1 Registers & Load Enable.
1 CSE 140 Lecture 12 Standard Combinational Modules Professor CK Cheng CSE Dept. UC San Diego.
1 Lecture 1: Introduction to Digital Logic Design CK Cheng CSE Dept. UC San Diego.
Lecture 8: Processors, Introduction EEN 312: Processors: Hardware, Software, and Interfacing Department of Electrical and Computer Engineering Spring 2014,
CSE 140 Lecture 12 Combinational Standard Modules CK Cheng CSE Dept. UC San Diego 1.
Computer Architecture 2 nd year (computer and Information Sc.)
Lecture 7: Sequential Networks CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer Science and Engineering.
1 Lecture 1: Introduction to Digital Logic Design CSE 140: Components and Design Techniques for Digital Systems Winter 2016 CK Cheng Dept. of Computer.
CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon Grading Policy: Project 25%
1 CSE 140 Lecture 11 Standard Combinational Modules CK Cheng CSE Dept. UC San Diego.
CSE 140 Lecture 13 Combinational Standard Modules Professor CK Cheng CSE Dept. UC San Diego 1.
CSE 140 Lecture 12 Combinational Standard Modules CK Cheng CSE Dept. UC San Diego 1.
CSE 140 Lecture 15 System Design II CK Cheng CSE Dept. UC San Diego 1.
CSE 140 Lecture 8 Sequential Networks
Sequential Networks and Finite State Machines
Digital Electronics Multiplexer
REGISTER TRANSFER LANGUAGE (RTL)
CSE 140 Lecture 14 System Designs
CSE 140 Lecture 14 System Designs
CSE 3322 Computer Architecture
CSE 140 Lecture 12 Combinational Standard Modules
CSE 20 Survey CK Cheng UC San Diego
Overview Instruction Codes Computer Registers Computer Instructions
Digital Electronics Multiplexer
CSE 140 Lecture 16 System Designs
Sequential Networks and Finite State Machines
CSE 140 Lecture 12 Combinational Standard Modules
CSE 140 Lecture 11 Standard Combinational Modules
CSE 140 Lecture 15 System Designs
CSE 140 Lecture 17 System Design II
Lesson 4 Synchronous Design Architectures: Data Path and High-level Synthesis (part two) Sept EE37E Adv. Digital Electronics.
CS 140 Lecture 16 Professor CK Cheng 11/21/02.
CSE 140 Lecture 14 System Design
CS 140 Lecture 19 Standard Modules
CS 140 Lecture 15 Sequential Modules
CSE 140 Lecture 16 System Designs II
COMS 361 Computer Organization
CS M51A/EE M16 Winter’05 Section 1 Logic Design of Digital Systems Lecture 16 March 14 W’05 Yutao He 4532B Boelter Hall
CSE 140 Lecture 9 Sequential Networks
ESE 150 – Digital Audio Basics
CSE140: System Design Xinyuan Wang 05/31/2019.
CSE 140 Lecture 11 Standard Combinational Modules
CSE 140 Lecture 16 System Designs
Presentation transcript:

CSE 140 Lecture 13 System Designs CK Cheng CSE Dept. UC San Diego

System Designs Introduction Components Specification Implementation Methodology and Framework Components Specification Implementation

Introduction Methodology Approach with success stories. Hierarchical designs with interface between the modules (BSV). Data Subsystem and Control Subsystem For n-bit data, each operation takes n times or more in hardware complexity. Data subsystem carries out the data operations and transports. Control system sequences the data subsystem and itself.

I. Introduction: Framework Data Subsystem Data Inputs Data Outputs Control Signals Conditions Control Subsystem Control Inputs Control Outputs Start/Request Done/Acknowledgement

II. Components Components Storage Modules Operators Interconnections Sequential machines Functions Data storage Data operations Data transport Control of data operations Control of data transports Control of the sequential system Data Subsystem Control

II. Data Subsystem Components Storage: Register, RAM, FIFO, LIFO, Counter, Shifter Operator: ALU, Floating Point Operators Interconnect: Wire, Buses, Crossbars

II. Components: Storage Modules, Register LD: Load CLR: Clear D LD CLR CLK 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

Modulo-n Counter D CNT TC LD Clk CLR Q Q (t+1) = (0, 0, .. , 0) if CLR = 1 = D if LD = 1 and CLR = 0 = (Q(t)+1)mod n if LD = 0, CNT = 1 and CLR = 0 = Q (t) if LD = 0, CNT = 0 and CLR = 0 TC = 1 if Q (t) = n-1 and CNT = 1 = 0 otherwise

III. Specification: Program Objects (Registers, Outputs of combinational logic) Operation (Logic, Add, Multiplication, DSP, and etc.) Assignment Sequencing Example: Signal S1, S2, R[15:0]: FFs, Registers, wires Z  A + B: Registers, Adder, Interconnect R1  R2: Registers and Interconnect Begin, End: Control if ( ) then ( ), ENDIF: Control

Ex. If C then R1 S1 Else R2  S2 Endif; If C1 then X  A LD C S2 R2 A B C If C1 then X  A Else X  B + C Endif If C2 then G  X Adder 1 0 MUX C1 C2 G CLK

VI. Implementation Example Handshaking Datapath Subsystem Request and Acknowlegement Datapath Subsystem Data Operators Data Transporters Control Subsystem One Hot Machine Design

VI. Implementation: Example AddModule(X, Y, Z, start, done) { Input X[15:0], Y[15:0] type bit-vector, start type boolean; Local-Object A[15:0], B[15:0] type bit-vector; Output Z[15:0] type bit-vector, done type boolean; S0: If start’ goto S0 || done 1; S1: A  X || B  Y || done 0; S2: Z  Add(A, B) || goto S0; } Exercise: Go through the handshaking, data subsystem and control subsystem designs.

AddModule(X,Y,start,done) Call AddModule X Y Z start done AddModule X Y Z done start

Hand Shaking start t done t

iClicker How many clock cycles does the AddModule take to complete one handshaking iteration? One cycle Two cycles More than two cycles

Logistics: Grading Grade on style, completeness and correctness zyBook exercises: 20% iClicker: 9% (by participation up to three quarters of classes) Homework: 15% (grade based on a subset of problems. If more than 85% of class fill out CAPE evaluations, the lowest homework score will be dropped) Midterm 1: 27% (T 5/2/17) Midterm 2: 28% (Th 6/8/17) Final: 1% (take home exam, due 10PM, Th 6/15/17) Grading: The best of the following The absolute: A- >90% ; B- >80% of total 100% score The curve: (A+,A,A-) top 33+ε% of class; (B+,B,B-) second 33+ε% The bottom: C- above 45% of absolute score.

Logistics Grade on style, completeness and correctness zyBook exercises: 20% (Half of the points will be added for exercises that missed the due date but are completed by 6/11) iClicker: 9% (the points are prorated and saturate up to three quarters of classes) HW5 solution will posted asap. Thus, there will be no time for late submission. New office hrs for W10 will be posted on the web. No discussion session for W10. Review session (note for Sunday 6/4, session starts after 2PM) A. Saturday 6/3 B. Sunday 6/4