I'm new to Verilog programming and would like to test the following module. Can someone please point me in the right direction as far as where to get started with this? Do I just have to write a bunch of for
loops to simulate all possible values for the four inputs and then use some display statements to see the result?
module HW7P1( A1, A0, B1, B0, O );
input A1, A0, B1, B0;
wire O;
assign O = (!A1 & B1) | (!A1 & !A0 & B0) | (!A0 & B1 & B0);
endmodule