equal
deleted
inserted
replaced
1399 for col in range(self.Col): |
1399 for col in range(self.Col): |
1400 if col == 16: |
1400 if col == 16: |
1401 self.SetColLabelValue(16, "Text View") |
1401 self.SetColLabelValue(16, "Text View") |
1402 self.SetColSize(16, (self.GetSize().x-120)*4/20) |
1402 self.SetColSize(16, (self.GetSize().x-120)*4/20) |
1403 else: |
1403 else: |
1404 self.SetColLabelValue(col, '%s'%col) |
1404 self.SetColLabelValue(col, '%s' % col) |
1405 self.SetColSize(col, (self.GetSize().x-120)/20) |
1405 self.SetColSize(col, (self.GetSize().x-120)/20) |
1406 |
1406 |
1407 # set data into table |
1407 # set data into table |
1408 row = col = 0 |
1408 row = col = 0 |
1409 for row_idx in value: |
1409 for row_idx in value: |
1670 |
1670 |
1671 # loop for register(0x0000:0x0fff) |
1671 # loop for register(0x0000:0x0fff) |
1672 for address in range(0x1000): |
1672 for address in range(0x1000): |
1673 # arrange 2 Bytes of register data |
1673 # arrange 2 Bytes of register data |
1674 reg_word = reg_data[address].split('x')[1] + reg_word |
1674 reg_word = reg_data[address].split('x')[1] + reg_word |
1675 if (address%2) == 1: |
1675 if (address % 2) == 1: |
1676 # append address |
1676 # append address |
1677 hex_address = "{:0>4x}".format(address-1) |
1677 hex_address = "{:0>4x}".format(address-1) |
1678 row_data.append(hex_address) |
1678 row_data.append(hex_address) |
1679 |
1679 |
1680 # append description |
1680 # append description |