学习了!另外$放在左边表示最小值可能是随机化中的表示,在随机化中
如:
```// Code your testbench here
// or browse Examples
module tb;
class A;
rand bit [3:0] a;
constraint c {
a inside {[$:5], [10]};
}
endclass
A obj = new();
initial begin
repeat(10)begin
obj.randomize();
$display("value a is %0d", obj.a);
end
end
endmodule