V_cmd.data Length Limitation in SPI VVC Prevents Sending More Than 31 Bytes

Hi,

I’m currently using the UVVM SPI VVC in my verification environment.

In my testbench, I configured the VVC with the following generics:

GC_DATA_ARRAY_WIDTH => 1523

However, when I try to send 229 bytes of data using the v_cmd.data field in the test case, only 31 bytes are actually transmitted. The remaining bytes are replaced with ‘X’.

After debugging the issue, I realized that the root cause is the following constant defined in the adaptations_pkg:

constant C_SPI_VVC_DATA_ARRAY_WIDTH : natural := 31;

This constant appears to limit the usable width of v_cmd.data, even though I configured a higher width via the generic.

My question is: Is the only way to fix this problem by manually modifying the adaptation_pkg and increasing the value of C_SPI_VVC_DATA_ARRAY_WIDTH?
Or is there a better way to propagate the value from the VVC generic to avoid this mismatch?

Thanks in advance.

SPI VVC Instantiation:

Debuging points on spi_vvc.vhd

Waveform Screenshoot: