source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_get_library.cpp @ 113

Last change on this file since 113 was 113, checked in by rosiere, 15 years ago

1) Add modelsim simulation systemC
2) Modelsim cosimulation systemC / VHDL is not finish !!!! (cf execute_queue and write_unit)
3) Add multi architecture
5) Add template for comparator, multiplier and divider
6) Change Message
Warning) Various test macro have change, many selftest can't compile

  • Property svn:keywords set to Id
File size: 806 bytes
RevLine 
[2]1#ifdef VHDL
2
3/*
4 * $Id: Vhdl_get_library.cpp 113 2009-04-14 18:39:12Z rosiere $
5 *
6 * [ Description ]
7 *
8 */
9
10#include "Behavioural/include/Vhdl.h"
[94]11#include "Common/include/Tabulation.h"
[2]12#include <sstream>
13
14namespace morpheo              {
15namespace behavioural          {
16 
[43]17#undef  FUNCTION
[113]18#define FUNCTION "Vhdl::get_library"
19  std::string Vhdl::get_library (uint32_t depth)
[2]20  {
[43]21    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
22
[113]23    std::list<std::string>::iterator i   = _list_library.begin();
[94]24    std::string                 tab = morpheo::tab(depth);
[71]25    std::ostringstream          text;
[2]26
[113]27    if (i != _list_library.end())
28      text << get_list(_list_library,depth,";",true);
[2]29
[43]30    log_printf(FUNC,Behavioural,FUNCTION,"End");
31
[2]32    return text.str();
33  };
34 
35}; // end namespace behavioural         
36}; // end namespace morpheo             
37
38#endif
Note: See TracBrowser for help on using the repository browser.