

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


NOTES: Closed book, except for one Verilog summary sheet and one sheet of handwritten notes that are allowed. Please draw and write NEATLY (If I cannot read it, I must mark it WRONG). Do all work in pencil and put all answers on YOUR paper, not these sheets, following the specified class format (one side usage of green engineering paper). Start each problem on a new sheet of paper. Clearly label all answers with the problem number. Follow the 6120 HDL Guidelines for code writing style. Assume zero delays unless otherwise specified. All code written must be synthesizable with Quartus.
The controller is an explicit finite state machine with inputs Clk (synchronizing clock), Rst (asynchronous reset to controller and datapath), Sctl (serial control), and DataE (data equals zero). The controller outputs are Load (load a register in the datapath), Enab (enable the data operation in the datapath), and Done (sequence is finished). Use one-hot state encoding.