main module arrayopt declare a_type is array[1..4] of integer a = table a_type(1,2,3,4) s: static a_type b: static integer enddeclare b := a[a[a[a[1]]]] s[a[a[a[a[3]]]]] := a[a[a[a[a[a[4]]]]]] endmodule