Question: Develop a testbench for selective testing such that it shows all the possible/important output // Linear Search - 22.41 ns, 527 gates module arrayCmpV1(clk, reset,

Develop a testbench for selective testing such that it shows all the possible/important output // Linear Search - 22.41 ns, 527 gates module arrayCmpV1(clk, reset, inc, index, min); input clk, reset, inc; input [1:0] index; output [1:0] min; reg[5:0] cntr[0:4]; reg [1:0] min; // pseudo register integer i; // compare each array element to mincount task sel; output [1:0] sel; reg [5:0] mincount; begin : _sc mincount =cntr[0]; sel =2d0; for (i=1;i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
