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

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration
Files:
2 edited

Legend:

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

    r101 r108  
    5959    cout << "------------------------------------------------------" << endl;
    6060
    61     Instance * instance = new Instance ("../../../Files/Instance_scalar_1.cfg",
     61    Instance * instance = new Instance ("../../../Files/Instance_debug.cfg",
    6262                                        generator1,
    6363                                        _get_custom_information
     
    6868  }
    6969
    70   {
    71     cout << "------------------------------------------------------" << endl;
    72 
    73     Instance * instance = new Instance ("../../../Files/Instance_scalar_2.cfg",
    74                                         generator1,
    75                                         _get_custom_information
    76                                         );
    77     instance->toFile("data_out");
    78    
    79     delete instance;
    80   }
    81 
    82   {
    83     cout << "------------------------------------------------------" << endl;
    84 
    85     Instance * instance = new Instance ("../../../Files/Instance_scalar_3.cfg",
    86                                         generator1,
    87                                         _get_custom_information
    88                                         );
    89     instance->toFile("data_out");
    90    
    91     delete instance;
    92   }
    93 
    94   {
    95     cout << "------------------------------------------------------" << endl;
    96 
    97     Instance * instance = new Instance ("../../../Files/Instance_scalar_4.cfg",
    98                                         generator1,
    99                                         _get_custom_information
    100                                         );
    101     instance->toFile("data_out");
    102    
    103     delete instance;
    104   }
    10570
    10671  delete configuration1;
  • 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.