How to assign and create associative array with multiple keys

In reply to shahparth08:

data_out = data.exists(key’{4’b1,12’habc,32’hf})?data[key’{4’b1,12’habc,32’hf}]:0;

Please update your code with above line,then it works