Question: Inspect the code and create a test bench from the following code in verilog module MY_DESIGN ( Ginl, Gin2, Gout, data1, data2, sel, clk, out1,

Inspect the code and create a test bench from the following code in verilog

Inspect the code and create a test bench from the following code

in verilog module MY_DESIGN ( Ginl, Gin2, Gout, data1, data2, sel, clk,

out1, out2, out3); input [4:0] Gini, Gin2, data1, data 2; input sel,

module MY_DESIGN ( Ginl, Gin2, Gout, data1, data2, sel, clk, out1, out2, out3); input [4:0] Gini, Gin2, data1, data 2; input sel, clk; output (4:0) Cout, out1, out2, out3; reg [4:0] R1, R2, R3, R4, outl, out2, out3; wire [4:0] arth_0; ARITH U1_ARITH ( a(datal), .b(data2), sel(el),.outl(arth_o)); COMBO U_COMBO (Ginl(Gini), Gin2(Gin2), sel(sel), Cout(Cout)); always @ (posedge clk) begin R1

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!