package RVars;
  class Test_problem;
    rand bit[7:0] data;
    rand bit[3:0] address;
    constraint C1
    {
       data inside {5};
       address dist {0 :/10, [1:14] :/80, 15 :/ 10};
    }
  endclass : Test_problem
endpackage : RVars

import RVars::*;
module test();
  initial begin
    Test_problem Object;
    Object = new();
    Object.randomize();
  end
endmodule