Sim/circuit2

From HDLBits

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

5101520253035404550556065707580859095abcdq Inputs Outputs

Module Declaration

module top_module (
    input a,
    input b,
    input c,
    input d,
    output q );
//

    assign q = 0; // Fix me

Write your solution here

x
 
1
module top_module (
2
    input a,
3
    input b,
4
    input c,
5
    input d,
6
    output q );//
7
8
    assign q = 0; // Fix me
9
10
endmodule
11
Upload a source file...