integration/common/get_mem_data: Remove dead code (thanks @Rongronggg9).

See: https://github.com/enjoy-digital/litex/pull/1488#pullrequestreview-1168106543
This commit is contained in:
Florent Kermarrec 2022-11-04 10:21:12 +01:00
parent adea7879d7
commit 8f459a27dd
1 changed files with 0 additions and 1 deletions

View File

@ -84,7 +84,6 @@ def get_mem_data(filename_or_regions, data_width=32, endianness="big", mem_size=
for filled_data_width in range(0, data_width, 32): for filled_data_width in range(0, data_width, 32):
cur_byte = filled_data_width//8 cur_byte = filled_data_width//8
data[(base - offset)//bytes_per_data + i] |= (struct.unpack(unpack_order, w[cur_byte:cur_byte+4])[0] << filled_data_width) data[(base - offset)//bytes_per_data + i] |= (struct.unpack(unpack_order, w[cur_byte:cur_byte+4])[0] << filled_data_width)
filled_data_width += 32
i += 1 i += 1
return data return data