Professional Documents
Culture Documents
Discussed in Class and On Fridays
Discussed in Class and On Fridays
in class
and on
Fridays
Generalized register:
With D FFs,
With T FFs, transitions
Iterative circuits (using decomposition to one dimensional,
one-directional iterative circuits specified as FSMs)
Trade-off between FSM and iterative circuit
Parallel and serial adder
ALU with arithmetic and logic part.
Realization of all functions of 2 variables
Realization of all symmetric functions.
Iterative circuit
(one dimensional)
Finite state
machine
Iterative circuit
(general, n-dimensional)
Professor Perkowski
wants you to select
a good design pattern to get
an A in this class and become
a talented designer
Generalized
register
pipelined
Data Path
SIMD
Butterfly
combinational
Sequential
controller
systolic
Regular
Structures
Generate
Statement
Generate Statement
Generate Statement
Automatically Generates Multiple
Component Instantiations
Two Kinds of Statements
Iteration
FOR . . . GENERATE
Conditional
IF . . . GENERATE
Syntax of FOR
identifier : FOR N IN 1 TO 8
GENERATE
concurrent-statements
END GENERATE name ;
Conditional: IF GENERATE
Syntax of IF
Cout C(4) A
Co
S
C
i
Sum(3)
A(2) B(2)
C(3)
Co
S
C
i
Sum(2)
A(1) B(1)
C(2)
Co
S
C
i
Sum(1)
A(0) B(0)
C(1)
Co
S
C
i
C(0)
Sum(0)
Ci
n
ENTITY RCAdder_N IS
PORT ( A, B
: IN
Cforce : IN
Sum
: OUT
Cout
: OUT
END RCAdder_N ;
Bit_Vector ;
Bit ;
Bit_Vector ;
Bit ) ;
This is global A
from entity
Middle_bits:
IF ( I < ( ALENGTH - 1 ) AND I > 0 )
GENERATE
BEGIN
SI: Full_Adder
PORT MAP ( A(I), B(I), C(I-1),
Sum(I), Int_C(I) );
END GENERATE SI ;
2.
3.
4.
5.
6.
Slides used
Prof. K. J. Hintz
Department of Electrical and
Computer Engineering
George Mason University