source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_get_signal.cpp @ 146

Last change on this file since 146 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 751 bytes
RevLine 
[41]1/*
2 * $Id: Interfaces_get_signal.cpp 81 2008-04-15 18:40:01Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Interfaces.h"
9
10
11namespace morpheo              {
12namespace behavioural          {
13
14#ifdef VHDL
15#  ifdef VHDL_TESTBENCH
[43]16
17#undef  FUNCTION
18#define FUNCTION "Interfaces::get_signal"
[75]19  void Interfaces::get_signal (std::list<std::string> * & list_signal)
[41]20  {
[43]21    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
22
[41]23    if (not _list_interface->empty())
24      {
[75]25        std::list<Interface_fifo*>::iterator i = _list_interface->begin();
[41]26       
27        while (i != _list_interface->end())
28          {
29            (*i)->get_signal (list_signal);
30            ++i;
31          }
32      }
[43]33    log_printf(FUNC,Behavioural,FUNCTION,"End");
[41]34  };
35#  endif
36#endif
37
38}; // end namespace behavioural         
39}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.