source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal_get_name_vhdl.cpp @ 81

Last change on this file since 81 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: 740 bytes
Line 
1#  ifdef VHDL_TESTBENCH
2/*
3 * $Id: Signal_get_name_vhdl.cpp 81 2008-04-15 18:40:01Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/include/Signal.h"
10
11
12namespace morpheo              {
13namespace behavioural          {
14
15#undef  FUNCTION
16#define FUNCTION "Signal::get_name_vhdl"
17  void Signal::get_name_vhdl (std::list<std::string> *& list_signal)
18  {
19    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
20    if ((_presence_port == PORT_VHDL_YES_TESTBENCH_YES) or
21        (_presence_port == PORT_VHDL_YES_TESTBENCH_NO ) or
22        (_presence_port == CLOCK_VHDL_YES)              or
23        (_presence_port == RESET_VHDL_YES))
24      list_signal->push_back(_name);
25    log_printf(FUNC,Behavioural,FUNCTION,"End");
26  };
27
28}; // end namespace behavioural         
29}; // end namespace morpheo             
30#endif
Note: See TracBrowser for help on using the repository browser.