Week 3 – Sequential Logic¶
Lecture¶
Timing Analysis
Why a chip needs a clock
Contamination Delay
Propagation Delay
Setup time, Hold time
Critical path analysis
Sequential Circuits 2
Parameterized Binary Reduction Tree to find the minimum value in a vector
y = min(X)
Finite State Machines
Up Counter
Down Counter
Nested counters
Assignment 3: Fully parallel dense layer¶
This assignment is intended to develop your skills in hierarchical design & parameterized hardware generation using SystemVerilog.
Convert the parameterized minimum-finding module to perform
y = sum(X)Create a constant-vector MAC module to compute
y = sum(K.X + B), whereKandBare parameter arrays.Create a module to requantize the output and optionally do ReLU, using the module from A2.
Create a module
dense_reluwith optional ReLU withN_OUTPUTSnumber of the above module.Use our basic testbenches to test (1,2,3,4)
Write an advanced testbench to do randomized testing