source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Model_set_model.cpp @ 130

Last change on this file since 130 was 129, checked in by rosiere, 15 years ago

1) Debug_Signal

  • Property svn:keywords set to Id
File size: 590 bytes
RevLine 
[112]1/*
2 * $Id: Model_set_model.cpp 129 2009-06-29 16:38:40Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Model.h"
[118]9#include "Common/include/Debug.h"
[112]10
11namespace morpheo              {
12namespace behavioural          {
13
14#undef  FUNCTION
[113]15#define FUNCTION "Model::set_model"
[118]16  void Model::set_model (std::string component, model_type_t type, bool debug)
[112]17  {
[129]18//     log_begin(Behavioural,FUNCTION);
[112]19
20    model_t model;
21    model.type  = type ;
22    model.debug = debug;
23
24    models [component] = model;
25
[129]26//     log_end(Behavioural,FUNCTION);
[112]27  }
28
29}; // end namespace behavioural         
30}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.