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

Last change on this file since 71 was 71, checked in by rosiere, 16 years ago

Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)

File size: 735 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>
13
14namespace morpheo              {
15namespace behavioural          {
16 
17#undef  FUNCTION
18#define FUNCTION "Vhdl::direction_toString"
19  std::string Vhdl::direction_toString (direction_t direction)
20  {
21    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
22
23    std::string _return;
24    switch (direction)
25      {
26      case IN    : _return = "in    "; break;
27      case OUT   : _return = "out   "; break;
28      default    : _return = "      "; break;
29      }
30
31    log_printf(FUNC,Behavioural,FUNCTION,"End");
32    return _return;
33  };
34 
35}; // end namespace behavioural         
36}; // end namespace morpheo             
37
38#endif
Note: See TracBrowser for help on using the repository browser.