Documente Academic
Documente Profesional
Documente Cultură
CHAPTER 3:
Register Transfer
Specification & Design
(part_1)
2
Outline
Ø Register Transfer (RT) design:
o FSMD model
o RT specification with
q Static-action tables
q ASM charts
Ø Procedure for synthesis from RT specification
Ø Design Optimization through
o Register sharing
o Functional unit sharing
o Bus sharing
o Unit chaining and Multiclocking
Ø Design Pipelining
o Unit pipelining
o Control pipelining
o Datapath pipelining
Ø Scheduling of flowcharts
3
Outline
Ø Register Transfer (RT) design:
o FSMD model
o RT specification with
q Static-action tables
q ASM charts
Ø Procedure for synthesis from RT specification
Ø Design Optimization through
o Register sharing
o Functional unit sharing
o Bus sharing
o Unit chaining and Multiclocking
Ø Design Pipelining
o Unit pipelining
o Control pipelining
o Datapath pipelining
Ø Scheduling of flowcharts
4
Register-transfer design
Ø Each standard or custom IC consists of one or more
Design Model
Ones-counter specification
7
FSDM Definition
ØIn chapter 1, we defined an FSM as a quintuple <S, I, O, f, h>
o where S is a set of states, I and O are the sets of input and output symbols:
f : S × I à S (next state) , and h : S × I à O (FSM output)
o More precisely,
q I = A1 × A2 ×…Ak with Ai (1 ≤ i ≤ k) is an input signal
q S = Q1 × Q2 ×…Qm with Qi (1 ≤ i ≤ m) is the flip-flop output
q O = Y1 × Y2 ×…Yn with Yi (1 ≤ i ≤ n) is an output signal
FSDM Definition
Ø We can simplify function f : ( S ×V ) × I à S ×V
by separating it into two parts: fC and fD.
o The function fC defines the next state of the control unit
fC : S ×IC × STAT à S
o The function fD defines the values of datapath variables in
the next state, fD : S ×V × ID à V
fD :={fDi : V × ID à V : { Vj =ej | Vj V, ej Expr ( V × ID )}}
STAT: set of all status signals --.> relations between variables or experestion of variables
9
State-action table
12
ASM Symbols
14
ASM rules
Ø Rule 1: The chart must define a unique next state for
each state and set of conditions.
Ø Rule 2: Every path defined by the network of condition
boxes (decision boxes) must lead to another state.
State-based table
State-based version
19
Input-based table