Constraint for 8-bit opcode (SystemVerilog)
➤ Only one bit can be set in the 8-bit opcode (i.e., one-hot encoding).
Matrix size based on opcode bit index
➤ Based on which bit is set in the 8-bit opcode, generate a square 2D array (e.g., if bit 4 is set, matrix is 4x4).