source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal_presence_vhdl.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: 702 bytes
Line 
1/*
2 * $Id: Signal_presence_vhdl.cpp 81 2008-04-15 18:40:01Z rosiere $
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::presence_vhdl"
16  bool Signal::presence_vhdl (void)
17  {
18    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
19    bool _return = ((_presence_port == PORT_VHDL_YES_TESTBENCH_YES) or
20                    (_presence_port == PORT_VHDL_YES_TESTBENCH_NO ) or
21                    (_presence_port == CLOCK_VHDL_YES             ) or
22                    (_presence_port == RESET_VHDL_YES             ) );
23    log_printf(FUNC,Behavioural,FUNCTION,"End");
24
25    return _return;
26  };
27
28}; // end namespace behavioural         
29}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.