Last change
on this file since 61 was
43,
checked in by rosiere, 17 years ago
|
Modif mineur : ajout d'info de débug
Release non stable
|
File size:
645 bytes
|
Rev | Line | |
---|
[41] | 1 | #ifdef VHDL_TESTBENCH |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/include/Signal.h" |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | |
---|
[43] | 15 | #undef FUNCTION |
---|
| 16 | #define FUNCTION "Signal::get_clock" |
---|
[42] | 17 | Signal * Signal::get_clock (void) |
---|
[41] | 18 | { |
---|
[43] | 19 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
| 20 | |
---|
| 21 | Signal * _return; |
---|
| 22 | |
---|
[41] | 23 | if ((_presence_port == CLOCK_VHDL_YES) or |
---|
| 24 | (_presence_port == CLOCK_VHDL_NO )) |
---|
[43] | 25 | _return = this; |
---|
[41] | 26 | else |
---|
[43] | 27 | _return = NULL; |
---|
| 28 | |
---|
| 29 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
| 30 | return _return; |
---|
[41] | 31 | }; |
---|
| 32 | |
---|
| 33 | }; // end namespace behavioural |
---|
| 34 | }; // end namespace morpheo |
---|
| 35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.