Ignore:
Timestamp:
Jun 17, 2009, 2:11:25 PM (15 years ago)
Author:
rosiere
Message:

1) Add test and configuration
2) Fix Bug
3) Add log file in load store unit
4) Fix Bug in environment

File:
1 edited

Legend:

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

    r117 r124  
    99#include "Behavioural/include/Simulation.h"
    1010#include "Common/include/Systemc.h"
     11#include "Common/include/ErrorMorpheo.h"
    1112
    1213namespace morpheo              {
     
    4748      end_inst = true;
    4849   
    49     return end_cycle and end_inst;
     50    if (end_cycle and _simulation_stop_exception)
     51      {
     52        throw ErrorMorpheo(_("Maximal cycles Reached"));
     53        return false;
     54      }
     55    else
     56      return end_cycle and end_inst;
    5057  }
    5158
Note: See TracChangeset for help on using the changeset viewer.