1 CS 140 Lecture 18 Sequential Modules: Serial Adders, Multipliers Professor CK Cheng CSE Dept. UC San Diego.

Slides:



Advertisements
Similar presentations
Adders and Subtractors
Advertisements

CS 140 Lecture 16 System Designs Professor CK Cheng CSE Dept. UC San Diego 1.
1 CS 140L Lecture 8 System Design Professor CK Cheng CSE Dept. UC San Diego.
CS 140 Lecture 10 Sequential Networks: Implementation Professor CK Cheng CSE Dept. UC San Diego 1.
1 EE24C Digital Electronics Project Theory: Sequential Logic (part 2)
CS 140L Lecture 5 Professor CK Cheng CSE Dept. UC San Diego.
Review and Overview. Review  Combinational logic circuit – Decoder, Encoder, Multiplexer, De-multiplexer, Full Adder, Multiplier  Sequential logic circuit.
1 CS 140 Lecture 12 Standard Combinational Modules Professor CK Cheng CSE Dept. UC San Diego.
CS 140 Lecture 7 Professor CK Cheng 4/23/02. Part II. Sequential Network (Ch ) 1.Flip-flops SR, D, T, JK, 2.SpecificationState Table 3.Implementation.
CS 140 Lecture 9 Professor CK Cheng 4/30/02. Part II. Sequential Network 1.Memory 2.Specification 3.Implementation S XY s i t+1 = g i (S t, x t )
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 14 Standard Combinational Modules Professor CK Cheng CSE Dept. UC San Diego Some slides from Harris and Harris.
1 CS 140 Lecture 19 Sequential Modules Professor CK Cheng CSE Dept. UC San Diego.
1 CS 140 Lecture 3 Combinational Logic Professor CK Cheng CSE Dept. UC San Diego.
CS 140 Lecture 8 Professor CK Cheng 4/26/02. Part II. Sequential Network 1.Memory SR, D, T, JK, 2.Specification S XY s i t+1 = g i (S t, X t )
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.
1 CS 140 Lecture 9 Sequential Networks Professor CK Cheng CSE Dept. UC San Diego.
CS 140 Lecture 8 Sequential Networks Professor CK Cheng CSE Dept. UC San Diego.
1 CS 20 Lecture 14 Karnaugh Maps Professor CK Cheng CSE Dept. UC San Diego.
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.
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 14 Professor CK Cheng 11/14/02. Part II. Standard Modules A.Interconnect B.Operators. Adders Multiplier Adders1. Representation of numbers.
CS 140 Lecture 10 Professor CK Cheng 5/02/02. Given the state table, implement with 2 JK flip flops id Q 1 (t) 0 1 Q 0 (t) X(t)
1 CSE20 Lecture 16 Boolean Algebra: Applications Professor CK Cheng CSE Dept. UC San Diego 1.
CS 140L Lecture 7 Professor CK Cheng 11/12/02. Transformation between Mealy and Moore Machines Algorithm: 1) For each NS, z = S i, j create a state S.
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.
Lecture 1: Introduction to Digital Logic Design CK Cheng Tuesday 4/1/02.
1 CS 140 Lecture 3 Combinational Logic Professor CK Cheng CSE Dept. UC San Diego.
CS 140 Lecture 11 Professor CK Cheng 5/31/02. C1C2 CLK x(t) y(t) Sequential Network Implementation Mealy & Moore machine State Table  Netlist s(t) D(t)
CS 140 Lecture 8 Professor CK Cheng 10/22/02. Part II. Sequential Network 1.Flip-flops SR, D, T, JK, State Table Characteristic Eq. Q(t+1) = f(x(t), Q(t)).
CS 140 Lecture 5 Professor CK Cheng CSE Dept. UC San Diego.
CS 140L Lecture 7 Transformation between Mealy and Moore Machines Professor CK Cheng CSE Dept. UC San Diego.
CS 140 Lecture 5 Professor CK Cheng CSE Dept. UC San Diego 1.
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.
1 CSE 140 Lecture 12 Standard Combinational Modules Professor CK Cheng CSE Dept. UC San Diego.
EECS Components and Design Techniques for Digital Systems Lec 16 – Arithmetic II (Multiplication) David Culler Electrical Engineering and Computer.
EKT 221/4 DIGITAL ELECTRONICS II  Registers, Micro-operations and Implementations - Part3.
Lecture 9: Sequential Networks: Implementation CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer Science.
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
Lecture 7: Sequential Networks CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer Science and Engineering.
CSE 140: Components and Design Techniques for Digital Systems Lecture 7: Sequential Networks CK Cheng Dept. of Computer Science and Engineering University.
CSE 140: Components and Design Techniques for Digital Systems Lecture 9: Sequential Networks: Implementation CK Cheng Dept. of Computer Science and Engineering.
Modular sequential logic Use latches, flip-flops and combinational logic –Flip-flops usually grouped to form a register Shift registers –n bits {x n …x.
Full Adder Truth Table Conjugate Symmetry A B C CARRY SUM
1 Lecture #15 EGR 277 – Digital Logic Reading Assignment: Chapter 5 in Digital Design, 3 rd Edition by Mano Example: (Problem 5-17 from Digital Design,
CSE 140 Lecture 13 System Designs
CSE 140 Lecture 8 Sequential Networks
CSE 140 Lecture 14 System Designs
CSE 140 Lecture 14 System Designs
CSE 140 Lecture 12 Combinational Standard Modules
CSE 140 Lecture 16 System Designs
CSE 140 Lecture 12 Combinational Standard Modules
CSE 140 Lecture 15 System Designs
CSE 140 Lecture 17 System Design II
CSE 140 Lecture 10 Sequential Networks: Implementation
CSE 140: Components and Design Techniques for Digital Systems
CS 140 Lecture 16 Professor CK Cheng 11/21/02.
CS 140 Lecture 19 Standard Modules
CS 140 Lecture 15 Sequential Modules
Professor CK Cheng CSE Dept. UC San Diego
CSE 140 Lecture 9 Sequential Networks
CS 140L Lecture 7 Transformation between Mealy and Moore Machines
CSE140 Final Review Xinyuan Wang 06/06/2019.
CSE 140 Lecture 16 System Designs
Presentation transcript:

1 CS 140 Lecture 18 Sequential Modules: Serial Adders, Multipliers Professor CK Cheng CSE Dept. UC San Diego

2 Overview Introduction Serial Adder Multiplication Conclusion

3 Sequential Modules: Introduction Slice operation bitwise Perform process in a series of time Ad: Cheaper hardware, Fit for FPGA architecture, Pipelining for excellent throughput Dis: Longer latency

4 Serial Adder: Perform serial bit-addition a 0 b 0 a 3 b 3 c in c out s0s0 s3s3 Serial Adder abab sum sisi aiai bibi At time i, read a i and b i. Produce s i and c i+1 Internal state stores c i. Carry bit c 0 is set as c in

5 Serial Adder using D F-F D Q Q’ Clk sisi aiai bibi C1 D Feed a i and b i and generate s i at time i. Where is c i and c i+1 ?

6 Serial Adder using a D Flip-Flop idaiai bibi cici c i+1 sisi D=c i+1 Q=c i

7 D Q Q’ Clk sisi aiai bibi cici Serial Adder using a D Flip-Flop Logic Diagram

8 Serial Adder using an SR Flip-Flop Excitation Table idaiai bibi c i (Q) c i+1 SR SR generate c i+1 Q=c i

PS inputs State table Q(t+1) SR S aiai bibi cici R aiai bibi cici 0101 PS NS Q(t+1) Q(t) Excitation table Excitation Table of SR Flip-Flop

10 aiai SRSR Q Q’ sisi Clk cici bibi aiai bibi S = a i b i R = a i ’b i ’ Serial Adder using an SR Flip-Flop Logic Diagram

11 Multiplication using Serial Addition a 2 a 1 a 0 b 2 b 1 b 0 x a 2 b 0 a 1 b 0 a 0 b 0 a 2 b 1 a 1 b 1 a 0 b 1 + m0m0 m1m x X 5 = 15 For m=AxB, set m (0) =0 At time i, perform m (i+1) =m (i) +Ab i 2 i

12 Conclusion Exploration of silicon area and time domain design space Utilization of FPGA architecture Metrics of Cost, Speed, and Power