source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_set_body.cpp @ 88

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

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 872 bytes
Line 
1#ifdef VHDL
2
3/*
4 * $Id: Vhdl_set_body.cpp 88 2008-12-10 18:31:39Z rosiere $
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::set_body"
19  void Vhdl::set_body (std::string text)
20  {
21    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
22    set_list(_list_body, text);
23    log_printf(FUNC,Behavioural,FUNCTION,"End");
24  };
25 
26#undef  FUNCTION
27#define FUNCTION "Vhdl::set_body"
28  void Vhdl::set_body (Vhdl * vhdl)
29  {
30    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
31   
32    for (std::list<std::string>::iterator it=vhdl->_list_body.begin();
33         it!=vhdl->_list_body.end();
34         ++it)
35      set_list(_list_body, *it);
36
37    log_printf(FUNC,Behavioural,FUNCTION,"End");
38  };
39 
40}; // end namespace behavioural         
41}; // end namespace morpheo             
42
43#endif
Note: See TracBrowser for help on using the repository browser.