1// Taken from the commet in #2489 submitted by @t0mj0nes. 2package my_pack; 3 localparam int MY_WIDTH = 1; 4 localparam int MY_DEPTH = 2; 5 typedef logic [MY_DEPTH-1:0][MY_WIDTH-1:0] my_t; 6 // Added by @masatake. 7 typedef logic [MY_DEPTH-1:0] [MY_WIDTH-1:0] my_t2; 8endpackage // my_pack 9