Last change
on this file since 114 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:
645 bytes
|
Line | |
---|
1 | #ifdef VHDL_TESTBENCH |
---|
2 | /* |
---|
3 | * $Id: Signal_get_clock.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/include/Signal.h" |
---|
10 | |
---|
11 | |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | |
---|
15 | #undef FUNCTION |
---|
16 | #define FUNCTION "Signal::get_clock" |
---|
17 | Signal * Signal::get_clock (void) |
---|
18 | { |
---|
19 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
20 | |
---|
21 | Signal * _return; |
---|
22 | |
---|
23 | if ((_presence_port == CLOCK_VHDL_YES) or |
---|
24 | (_presence_port == CLOCK_VHDL_NO )) |
---|
25 | _return = this; |
---|
26 | else |
---|
27 | _return = NULL; |
---|
28 | |
---|
29 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
30 | return _return; |
---|
31 | }; |
---|
32 | |
---|
33 | }; // end namespace behavioural |
---|
34 | }; // end namespace morpheo |
---|
35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.