module test;
int rtl_times;
bit rtl_switch;
initial begin
if($value$plusargs("user_times=%d",rtl_times))begin
$display("canli get the param from user is %d",rtl_times);
end
else begin
$display("canli not get the param from user");
end
if($test$plusargs("user_switch"))begin
$display("has user_switch");
end
else begin
$display("no rtl_switch");
end
end
endmodule
08-10
08-10
05-31