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

Last change on this file since 42 was 42, checked in by rosiere, 17 years ago

Modification des classes d'encapsulation des interfaces :

  • gère les signaux à écrire dans le vhdl
  • les traces pour le testbench
  • la génération des vhdl structurelles

-> test sur la Pattern History Table

File size: 534 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      default    : return "      "; break;
25      }
26  };
27 
28}; // end namespace behavioural         
29}; // end namespace morpheo             
30
31#endif
Note: See TracBrowser for help on using the repository browser.