Ignore:
Timestamp:
Jan 20, 2015, 5:20:39 PM (10 years ago)
Author:
cfuguet
Message:

genmap: add distributed ROM support

  • Generate the DROM address space segment that is used for the TSAR reconfiguration distributed ROM.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_xml/xml_parser.c

    r472 r491  
    14841484        periph[periph_index]->subtype = 0xFFFFFFFF;
    14851485
    1486         // The CMA, FBF, HBA, IOB, IOC, NIC, ROM, SIM, TTY, peripherals are not
     1486        // The CMA, FBF, HBA, IOB, IOC, NIC, ROM, SIM, TTY, PIC, DROM peripherals are not
    14871487        // replicated in all clusters but can be instanciated twice.
    14881488
     
    16261626            }
    16271627        }
    1628         else
     1628        /////////////////////////////////
     1629        else if (strcmp(str, "DROM") == 0)
     1630        {
     1631            periph[periph_index]->type = PERIPH_TYPE_DROM;
     1632        }
     1633        else
    16291634        {
    16301635            printf("[XML ERROR] illegal peripheral type: %s in cluster %d\n",
     
    18791884    if      (ok && (strcmp(str, "RAM" ) == 0)) { pseg[pseg_index]->type = PSEG_TYPE_RAM; }
    18801885    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; }
    18811887    else if (ok && (strcmp(str, "PERI") == 0)) { pseg[pseg_index]->type = PSEG_TYPE_PERI; }
    18821888    else
Note: See TracChangeset for help on using the changeset viewer.