Enums in packed data

In reply to Yash_wanth12345:

op_a is an array. So, an enum method will not work here.

It should be

$display("array is %p and %s ",op_a,op_a[0].name());