1 # load data from file in .v format
4 start = 0 # start address
5 data = [] # data (array of %02x str)
6 def __init__(self, start):
19 if line[0] == '@': # address marker - start of new data chunk
20 start = int(line[1:], 0x10)
24 # check for adjacent sections
25 if start != sec.start + sec.len():
28 # else: continue with the same section
43 # print sections[-1].data