Sim/circuit6
From HDLBits
sim/circuit5Previous
Nextsim/circuit7
This is a combinational circuit. Read the simulation waveforms to determine what the circuit does, then implement it.
Module Declaration
module top_module (
input [2:0] a,
output [15:0] q );
sim/circuit5Previous
Nextsim/circuit7