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

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

Import Morpheo

File size: 703 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::get_library_work (uint32_t depth)
19  {
20    list<string>::iterator i   = _list_library_work.begin();
21    string                 tab = string(depth,'\t');
22    ostringstream          text;
23
24    if (i != _list_library_work.end())
25      text << tab                    << endl
26           << tab << "library work;" << endl
27           << get_list(_list_library_work,depth,";",true);
28
29    return text.str();
30  };
31 
32}; // end namespace behavioural         
33}; // end namespace morpheo             
34
35#endif
Note: See TracBrowser for help on using the repository browser.