Sim/circuit5

From HDLBits

This is a combinational circuit. Read the simulation waveforms to determine what the circuit does, then implement it.

Simulation 1

5101520253035404550556065707580859095aabbc0123456789abcdef01ddeeqbeadfbe Inputs Outputs

Simulation 2

105110115120125130135140145150155160165170175180185190195aa15bb26c201234567801234567dd37ee48qa2413f6857f Inputs Outputs

Module Declaration

module top_module (
    input [3:0] a,
    input [3:0] b,
    input [3:0] c,
    input [3:0] d,
    input [3:0] e,
    output [3:0] q );

Write your solution here

x
 
1
module top_module (
2
    input [3:0] a,
3
    input [3:0] b,
4
    input [3:0] c,
5
    input [3:0] d,
6
    input [3:0] e,
7
    output [3:0] q );
8
9
endmodule
10
Upload a source file...