In reply to rishikpillai90:
Also, how can we do replication of struct assignment in this case?
I tried below but getting syntax error:
Assignment pattern is illegal due to: Replication field exceeds the size of
the target
lp_s vari[$] = '{
'{a: A_VAL0, b: B_VAL0, default:0},
'{15{'{a: A_VAL1, b: B_VAL1, default:0}}},
'{a: A_VAL2, b: B_VAL2, default:0}
};