Mt2015 q4

From HDLBits

mt2015_q4bPrevious
Nextringer

Taken from 2015 midterm question 4

See mt2015_q4a and mt2015_q4b for the submodules used here. The top-level design consists of two instantiations each of subcircuits A and B, as shown below.

Implement this circuit.

Module Declaration

module top_module (input x, input y, output z);

You may choose to create this circuit hierarchically using the two submodules as shown in the diagram, or create the same functionality without hierarchy.

Write your solution here

Upload a source file...