source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_direction_toString.cpp @ 2

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 549 bytes
Line 
1#ifdef VHDL
2
3/*
4 * $Id$
5 *
6 * [ Description ]
7 *
8 */
9
10#include "Behavioural/include/Vhdl.h"
11
12#include <sstream>
13using namespace std;
14
15namespace morpheo              {
16namespace behavioural          {
17 
18  string Vhdl::direction_toString (direction_t direction)
19  {
20    switch (direction)
21      {
22      case IN    : return "in    "; break;
23      case OUT   : return "out   "; break;
24      case INOUT : return "inout "; break;
25      }
26    return "";
27  };
28 
29}; // end namespace behavioural         
30}; // end namespace morpheo             
31
32#endif
Note: See TracBrowser for help on using the repository browser.