Any inputs/ideas on how to divide the below input file based on wr_data width (WR_DATA_WIDTH =64/72/32), the below file shows the wr_data starting at memory address 2 , BUT the data has to be divided based on the WR_DATA_WIDTH parameter and after that output few UVM memory calls to write to the address (offset calculated from the data_width)…
Input file: readmemh format file
@2
feef25fffff557edddcabdcbaaff7edddcabdcbaafffffff557eddcbaaff7edddcabdcbaafffffff557eddcbaaff7edddcabdcbaafffffff557edfeef25fffff557edddcabdcbaaff7edddca
Output should be below calls, mem.write (address,data) assuming WR_DATA_WIDTH =64
mem.write (2,feef25fffff557ed)
mem.write (3,ddcabdcbaaff7edd)