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