- Timestamp:
- Jan 20, 2015, 5:20:39 PM (10 years ago)
- Location:
- soft/giet_vm
- Files:
-
- 4 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 -
soft/giet_vm/giet_xml/mapping_info.h
r470 r491 115 115 PERIPH_TYPE_XCU = 12, 116 116 PERIPH_TYPE_PIC = 13, 117 118 PERIPH_TYPE_MAX_VALUE = 14, 117 PERIPH_TYPE_DROM = 14, 118 119 PERIPH_TYPE_MAX_VALUE = 15, 119 120 }; 120 121 -
soft/giet_vm/giet_xml/xml_driver.c
r472 r491 88 88 "XCU", 89 89 "PIC", 90 "DROM", 90 91 }; 91 92 -
soft/giet_vm/giet_xml/xml_parser.c
r472 r491 1484 1484 periph[periph_index]->subtype = 0xFFFFFFFF; 1485 1485 1486 // The CMA, FBF, HBA, IOB, IOC, NIC, ROM, SIM, TTY, peripherals are not1486 // The CMA, FBF, HBA, IOB, IOC, NIC, ROM, SIM, TTY, PIC, DROM peripherals are not 1487 1487 // replicated in all clusters but can be instanciated twice. 1488 1488 … … 1626 1626 } 1627 1627 } 1628 else 1628 ///////////////////////////////// 1629 else if (strcmp(str, "DROM") == 0) 1630 { 1631 periph[periph_index]->type = PERIPH_TYPE_DROM; 1632 } 1633 else 1629 1634 { 1630 1635 printf("[XML ERROR] illegal peripheral type: %s in cluster %d\n", … … 1879 1884 if (ok && (strcmp(str, "RAM" ) == 0)) { pseg[pseg_index]->type = PSEG_TYPE_RAM; } 1880 1885 else if (ok && (strcmp(str, "ROM" ) == 0)) { pseg[pseg_index]->type = PSEG_TYPE_ROM; } 1886 else if (ok && (strcmp(str, "DROM" ) == 0)) { pseg[pseg_index]->type = PSEG_TYPE_ROM; } 1881 1887 else if (ok && (strcmp(str, "PERI") == 0)) { pseg[pseg_index]->type = PSEG_TYPE_PERI; } 1882 1888 else
Note: See TracChangeset
for help on using the changeset viewer.