Changeset 491 for soft/giet_vm/giet_python
- Timestamp:
- Jan 20, 2015, 5:20:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_python/mapping.py
r471 r491 65 65 'XCU', 66 66 'PIC', 67 'DROM', 67 68 ] 68 69 … … 904 905 seg_xcu_size = 0 905 906 907 nb_drom = 0 908 drom_channels = 0 909 seg_drom_base = 0xFFFFFFFF 910 seg_drom_size = 0 911 906 912 use_bdv = False 907 913 use_spi = False … … 965 971 rom_channels = periph.channels 966 972 nb_rom +=1 973 974 elif ( periph.ptype == 'DROM' ): 975 seg_drom_base = periph.pseg.base & 0xFFFFFFFF 976 seg_drom_size = periph.pseg.size 977 drom_channels = periph.channels 978 nb_drom +=1 967 979 968 980 elif ( periph.ptype == 'SIM' ): … … 1184 1196 s += '#define SEG_RDK_BASE 0x%x\n' % seg_rdk_base 1185 1197 s += '#define SEG_RDK_SIZE 0x%x\n' % seg_rdk_size 1198 s += '\n' 1199 s += '#define SEG_DROM_BASE 0x%x\n' % seg_drom_base 1200 s += '#define SEG_DROM_SIZE 0x%x\n' % seg_drom_size 1186 1201 s += '\n' 1187 1202 s += '#define PERI_CLUSTER_INCREMENT 0x%x\n' % self.peri_increment
Note: See TracChangeset
for help on using the changeset viewer.