system verilog insert one queue into another queue code
system verilog insert one queue into another queue code:-
sorting form:-
/*module test;
int da[]={10,2,3,4,7,6,8};
initial
begin
da.sort();
$display("sorting of array:");
end
endmodule*
system verilog insert one queue into another queue code:-
/*module test;
int q1[$]='{0,1,5,6,7,8};
int q2[$]='{2,3,4};
initial
begin
q1={q1,q2};
//q1={q1[0:1],q2[2:$]};
$display("%p",q1);
end
endmodule*/
Comments
Post a Comment