The University of Texas at Austin
Department of Electrical and Computer Engineering

Problem Set 4

EE 382N – Spring 2026
Yale N. Patt, Instructor
Orhan Unuvar, Asher Nederveld, Edgar Turcotte, TAs
Due: Monday, February 16th, 2026, beginning of class

This is the last assignment that you will work on by yourself. Starting with problem set 5, you will be part of a group, and we will expect to see a single solution from the entire group.

In this problem set, you will create a simple processor that can execute four instructions in total. It is highly recommended to implement a pipelined processor. The instructions are shown below:

For the sake of this problem set, you don't need to worry about memory variants of ADD and MOV with ModR/M. You only need to implement the instruction variants necessary to solve the given test cases in Part 2.

Part 1

Design and draw out the datapath for a processor to handle these four instructions after decode. That is, the inputs to this design will be already decoded control signals. You should submit all the designs as well as a separate document explaining what each of your control signals do.

Part 2

Please use structural Verilog to implement logic structures for the two test cases below based on your Part 1. Everything from register reading to writeback must be structural Verilog. Anything in fetch and decode can be implemented with behavioral Verilog and made as simple as possible.

Both of these programs are expected to finish successfully. Simulate your design and verify that it works for the sets and use DVE to monitor important data and control signals in the processor. Submit both your Verilog (including test benches) as well as a document containing screenshots that verify functionality of your design.