Docsity

Time Shared Architecture (Lecture 9), Slides of Digital Systems Design

Partial preview of the text

Download Time Shared Architecture (Lecture 9) and more Slides Digital Systems Design in PDF only on Docsity!

Time Shared ArchitectureTime

Shared Architecture

Lecture 9

Dr. Shoab A. Khan

Time-Shared Designs

ƒ^

Dedicated Fully Parallel^ ‰

If sampling rate fs = circuit clock fclk

p^

g

‰^

Dedicated Operator for each operation in the algorithm ‰^

One operator (hardware unit, e.g. adder, multiplier, register) for eachoperation (e g addition multiplication delay)operation (e.g addition, multiplication, delay)

ƒ^

Most designs: time multiplexing

l^

k f

!^

l^

f

‰^

clock

frequency

sample

frequency

clock

frequency =

sample frequencynumber of clock cycles available for the jobnumber of clock cycles available for the job

Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan

Time Shared Architectures

ƒ^

Bit Serial ƒ^

Word Serial ƒ^

Sequential ƒ^

Sequential Unfolding ƒ^

Systolic ƒ^

Systolic ƒ^

Folded DFG ƒ^

Micro-programmed Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan

Example Bit Serial: N-bit adder

ƒ^

Bits are Serially input to the design ƒ^

The architecture processes input bit by bit basisThe

architecture processes input bit by bit basis

ƒ^

Bits are out serially Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan

Dedicated Architecture

ƒ^

Two add bit adder/subtractor for addition and subtraction ƒ^

No pipelining ƒ^

Need to add pipelining for better performanceNeed

to add pipelining for better performance

Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan

Pipeline

Architecture

ƒ^

Remember data coherency is important

a

8

8

b^

out

8

8

c

8

8

Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan

If f

c^

is twice of f

s^

-> Folded Design

ƒ^

If N=8 cycles are available: Bit Serial ƒ^

Time shared architecture ƒ^

One adder/subtractor is used for addition andsubtraction to compute a+b-c ƒ^

Two cycles to execute the DFG ƒ^

Two cycles to execute the DFG Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan

Sequential Design: Shift and Add Multiplier

; 0

sum

=

; 2 ] [

) ; 1 ; 0 (

i b

a

sum

i

N

i

for

i

×

×

=

−

<

=

;

2 ] 1

[

; 2 ] [

1

N b

a

sum

i b

a

sum

N × − × = +

×

×

=

−

;

]

[

sum

prod

=

ƒ^

Sums each partial product, one at a time. ƒ^

Each partial product is shifted versions of A or 0 ƒ^ Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan

Each partial product is shifted versions of A or 0.

Optimized Design

F

ti l

lti li

i^

t

ƒ^

F

or sequential multiplier, use compression tree

ƒ^

Latch in registers at slower clock ƒ^

Add using CPA at slower clock ƒ^

Add using CPA at slower clock

(a)^

(b)

Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan

Time shared FIR filter Complete Datapath Design

ƒ^

Tap delay line at samplingclockFilt

C

ffi i

t^

i^

ROM

ƒ^

Filt

er Coefficients in a ROM

ƒ^

PP generation andcompression tree at fast clockcompression tree at fast clock ƒ^

Final addition using CPA atsampling clock^ Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan

Sequencing and Control

ƒ^

Digital Systems can be partitioned into two portions ƒ^

Datapath and Control Unit Puppeteer Controller who pulls the strings ƒ^

Selects the operation

Datapath Puppet ƒ^

Registers, MUXes, ALU, Multipliers,

Selects the operation ƒ^

Determines the sequence (based onstatus and input signals)

Shifters, Comb, Circuits and buses ƒ^

Implements operations under controlof the control signals

Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan

State machine

ƒ^

A machine activity is usually consists of a synchronous sequence ofoperations on the registers of its datapaths, under the direction of acontrolling state machine

g

Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan

A Finite State Machine (FSM) Controller

ƒ^

Controller are of two types:^ ‰

Hardwired Finite State Machine based controller‰ Hardwired Finite State Machine based controller ‰ Microprogramm Architecture based controller

ƒ^

A FSM is a sequential system with N flip

-Flops

A FSM is a sequential system with N flip Flopsand has 2

N

possible states, so the number of

possible states is FINITEp ƒ^

FSM can be described using a BubbleDiagrams (State Diagram) or Algorithmic StateMachine Charts (ASM) Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan

A Finite State Machine (FSM) Controller

ƒ^

Controller are of two types:^ ‰

Hardwired Finite State Machine based controller‰ Hardwired Finite State Machine based controller ‰ Microprogramm Architecture based controller

ƒ^

A FSM is a sequential system with N flip

-Flops

A FSM is a sequential system with N flip Flopsand has 2

N

possible states, so the number of

possible states is FINITEp ƒ^

FSM can be described using a BubbleDiagrams (State Diagram) or Algorithmic StateMachine Charts (ASM) Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan