source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal_get_connect_to_signal.cpp @ 65

Last change on this file since 65 was 65, checked in by rosiere, 17 years ago

register_unit : systemc et VHDL ok

File size: 654 bytes
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Signal.h"
9
10
11namespace morpheo              {
12namespace behavioural          {
13
14#undef  FUNCTION
15#define FUNCTION "Signal::get_connect_to_signal"
16  Signal * Signal::get_connect_to_signal (void)
17  {
18    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
19
20    Signal * _return = _connect_to_signal;
21
22    while ((_return != NULL) and
23           (_return->get_direction () == INTERNAL))
24      _return = _return->get_connect_to_signal();
25
26    log_printf(FUNC,Behavioural,FUNCTION,"End");
27
28    return _return;
29  };
30
31}; // end namespace behavioural         
32}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.