HDLBits Solution: Simple Circuit B

This quiz required me to create XNOR circuit. This quiz is also the easiest one.

This is my code for this quiz.

 

module top_module ( input x, input y, output z );
    
    assign z = !(x^y);
 
endmodule

 

Reference: https://hdlbits.01xz.net/wiki/Mt2015_q4b

Leave a Reply

Your email address will not be published. Required fields are marked *