Ignore:
Timestamp:
Mar 18, 2009, 11:36:26 PM (16 years ago)
Author:
rosiere
Message:

1) Stat_list : fix retire old and new register bug
2) Stat_list : remove read_counter and valid flag, because validation of destination is in retire step (not in commit step)
3) Model : add class Model (cf Morpheo.sim)
4) Allocation : alloc_interface_begin and alloc_interface_end to delete temporary array.
5) Script : add distexe.sh
6) Add Comparator, Multiplier, Divider. But this component are not implemented
7) Software : add Dhrystone

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/src
Files:
5 added
4 edited

Legend:

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

    r81 r112  
    7070    log_printf(FUNC,Behavioural,"~Interface","Begin");
    7171
    72     if (_list_signal->empty()== false)
    73       {
    74         std::list<Signal*>::iterator i = _list_signal->begin();
    75 
    76         while (i != _list_signal->end())
    77           {
    78             delete (*i);
    79             ++i;
    80           }
    81       }
    82 
     72    for (std::list<Signal*>::iterator it = _list_signal->begin();
     73         it != _list_signal->end();
     74         ++it)
     75      delete (*it);
     76   
    8377    delete _list_signal;
    8478
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_set_signal.cpp

    r88 r112  
    2020    std::string signame = signal_name(_name, name, direction);
    2121   
    22     Signal * sig = new Signal       (signame, direction, size, presence_port);
     22    Signal * sig = new Signal (signame, direction, size, presence_port);
    2323
    2424    _list_signal->push_back (sig);
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces.cpp

    r81 r112  
    3939#endif
    4040
    41     if (_list_interface->empty()== false)
    42       {
    43         std::list<Interface_fifo*>::iterator i     = _list_interface->begin();
    44 
    45         while (i != _list_interface->end())
    46           {
    47             delete (*i);
    48             ++i;
    49           }
    50       }
     41    for (std::list<Interface_fifo*>::iterator it = _list_interface->begin();
     42         it!=_list_interface->end();
     43         ++it)
     44      delete (*it);
    5145
    5246    delete _list_interface;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Simulation.cpp

    r110 r112  
    1717  double              _simulation_nb_instruction;
    1818  std::vector<double> _simulation_nb_instruction_commited;
     19  Model               _model;
    1920
    2021  void simulation_init (double nb_cycle,
Note: See TracChangeset for help on using the changeset viewer.