Ignore:
Timestamp:
Feb 12, 2009, 12:55:06 PM (15 years ago)
Author:
rosiere
Message:

1) decod_queue : add reg_LAST_SLOT.
2) Commit : insert on event -> to pop decod_queue. Head test : add information (speculative or not)
3) Context State / UPT : Branch miss and Load miss in same cycle.
4) Free List : Bank is on LSB not MSB.
5) Platforms : move data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/src/Simulator_fromFile.cpp

    r88 r108  
    4545        XML_t * xml = vect[i];
    4646
    47         // Test node
    48         testNodeName   (xml,"parameter");
    49         testSingleton  (xml,true);       
     47        std::string child_name = xml->getName();
    5048
    51         // Take attributes of this tag
    52 
    53         attributes_t attributes = xml->getAttributes();
    54 
    55 //         std::cout << "Node [" << name           << "]" << std::endl;
    56 //         std::cout << "  * nb attributes : " << xml->getAttributes().size()  << std::endl;
    57 
    58         attribute_t value_name  = getAttribute(xml,attributes,"name" );
    59         attribute_t value       = getAttribute(xml,attributes,"value");
    60 
    61         testAttributesEmpty(xml,attributes);
    62 
    63         // Insert in array
    64         Parameter_affectation * param = new Parameter_affectation(value_name,
    65                                                                   value     );
    66 
    67         insert(param);
     49        //--------------------------------------------
     50        // Child : Parameter
     51        //--------------------------------------------
     52        if (child_name == "parameter")
     53          {
     54            // testNodeName   (xml,"parameter");
     55            testSingleton  (xml,true);       
     56           
     57            // Take attributes of this tag
     58           
     59            attributes_t attributes = xml->getAttributes();
     60           
     61            //         std::cout << "Node [" << name           << "]" << std::endl;
     62            //         std::cout << "  * nb attributes : " << xml->getAttributes().size()  << std::endl;
     63           
     64            attribute_t value_name  = getAttribute(xml,attributes,"name" );
     65            attribute_t value       = getAttribute(xml,attributes,"value");
     66           
     67            testAttributesEmpty(xml,attributes);
     68           
     69            // Insert in array
     70            Parameter_affectation * param = new Parameter_affectation(value_name,
     71                                                                      value     );
     72           
     73            insert(param);
     74          }
     75        //--------------------------------------------
     76        // Child : Simulation
     77        //--------------------------------------------
     78        else
     79          {
     80            testNodeName   (xml,"simulation");
     81            testSingleton  (xml,true);
     82          }
    6883      }
    6984         
Note: See TracChangeset for help on using the changeset viewer.