Sim/circuit1

From HDLBits

bugs_casePrevious

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

51015202530354045505560657075808590abq Inputs Outputs

Module Declaration

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

    assign q = 0; // Fix me

Write your solution here

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

Solution