Ignore:
Timestamp:
Feb 3, 2014, 4:34:44 PM (10 years ago)
Author:
cfuguet
Message:

Modification on giet_xml parser and driver:

  • Introducing a new field on the mapping_info header which is used to store the number of IRQ per processor. This number must be declared on the header of all XML description files (irq_per_proc).
  • The number of channels of the ICU/XICU must be equal to the number of processors per cluster multiplied by the number of IRQ per processor (this is verified by the xml_parser).
File:
1 edited

Legend:

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

    r263 r287  
    4545        "HARD",
    4646        "SOFT",
     47        "TIME",
    4748    };
    4849
     
    229230    fprintf(fpout, "<?xml version = \"1.0\"?>\n\n");
    230231
    231     fprintf(fpout, "<mapping_info signature = \"0x%x\" \n", header->signature);
    232     fprintf(fpout, "              name      = \"%s\"   \n", header->name);
    233     fprintf(fpout, "              x_size    = \"%d\"   \n", header->x_size);
    234     fprintf(fpout, "              y_size    = \"%d\"   \n", header->y_size);
    235     fprintf(fpout, "              x_width   = \"%d\"   \n", header->x_width);
    236     fprintf(fpout, "              y_width   = \"%d\"   \n", header->y_width);
    237     fprintf(fpout, "              vspaces   = \"%d\"   \n", header->vspaces);
    238     fprintf(fpout, "              increment = \"%d\" >\n\n", header->vspaces);
     232    fprintf(fpout, "<mapping_info signature    = \"0x%x\" \n" , header->signature);
     233    fprintf(fpout, "              name         = \"%s\"   \n" , header->name);
     234    fprintf(fpout, "              x_size       = \"%d\"   \n" , header->x_size);
     235    fprintf(fpout, "              y_size       = \"%d\"   \n" , header->y_size);
     236    fprintf(fpout, "              x_width      = \"%d\"   \n" , header->x_width);
     237    fprintf(fpout, "              y_width      = \"%d\"   \n" , header->y_width);
     238    fprintf(fpout, "              vspaces      = \"%d\"   \n" , header->vspaces);
     239    fprintf(fpout, "              increment    = \"%d\"   \n" , header->vspaces);
     240    fprintf(fpout, "              irq_per_proc = \"%d\" >\n\n", header->irq_per_proc);
    239241
    240242    ///////////////////// clusters ///////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.