SystemVerilog reference error

In reply to Rajaraman R:

I think you meant mas and sla instead of h. Also you need to declare mas and sla as static variables outside the initial block so that both initial blocks can access them.