Question: Consider the following testbench. module tb logic a,b,c; somemodule dut (a,b.c); initial begin a-1.bl; b-1.b1; #10; if (c1 b1) $display(error!); a-1.00, #10; if (c1'b0) $display(error!);

 Consider the following testbench. module tb logic a,b,c; somemodule dut (a,b.c);

Consider the following testbench. module tb logic a,b,c; somemodule dut (a,b.c); initial begin a-1.bl; b-1.b1; #10; if (c1 b1) $display(error!"); a-1.00, #10; if (c1'b0) $display(error!"); b 1'b0: #10 if (c1'b0) $display(error!"); a 1'b1; #10; if (c1 b0) Sdisplay(error!"); end endmodule What function does module "somemodule perform? Select one a. or-gate b. nand-gate C. and-gate O d. nor-gate e. cannot be determined

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!