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:
parent
adea7879d7
commit
8f459a27dd
|
@ -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):
|
||||
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)
|
||||
filled_data_width += 32
|
||||
i += 1
|
||||
return data
|
||||
|
||||
|
|
Loading…
Reference in New Issue