Changeset 112 for trunk/IPs/systemC/processor/Morpheo/Behavioural/src
- Timestamp:
- Mar 18, 2009, 11:36:26 PM (16 years ago)
- 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 70 70 log_printf(FUNC,Behavioural,"~Interface","Begin"); 71 71 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 83 77 delete _list_signal; 84 78 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_set_signal.cpp
r88 r112 20 20 std::string signame = signal_name(_name, name, direction); 21 21 22 Signal * sig = new Signal 22 Signal * sig = new Signal (signame, direction, size, presence_port); 23 23 24 24 _list_signal->push_back (sig); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces.cpp
r81 r112 39 39 #endif 40 40 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); 51 45 52 46 delete _list_interface; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Simulation.cpp
r110 r112 17 17 double _simulation_nb_instruction; 18 18 std::vector<double> _simulation_nb_instruction_commited; 19 Model _model; 19 20 20 21 void simulation_init (double nb_cycle,
Note: See TracChangeset
for help on using the changeset viewer.