In reply to syed taahir ahmed:
There are many ways to do this if you give more details. For example, you could write a directed test
randomize () with {address == low_limit};
...
randomize () with {address inside ([low_limit+1:high_limit-1]};
...
randomize () with {address == high_limit};
You could also use the ‘list’ constraint if you call randomize enough time to have a high probability of hitting the limits.
randomize() with {address dist {low_limit:=1, high_limit :=1, [low_limit+1:high_limit-1] :=1};}
You second question needs an example and should be a separate post