1 clock module top_module ( ); reg clk; dut U1(.clk(clk)); initial begin clk = 0; end always begin #5; clk = ~clk; end endmodule 2 Tb/tb1 module top_module ( output reg A, output reg B );// // generate input patterns here initial begin A = 0; B = 0;…
Getting started 1 Step one module top_module( output one ); // Insert your code here assign one = 1'b1; endmodule 2 Zero module top_module( output zero );// Module body starts after semicolon assign zero = 0; endmodule…