source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl.cpp @ 144

Last change on this file since 144 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: 898 bytes
RevLine 
[2]1#ifdef VHDL
2
3/*
4 * $Id: Vhdl.cpp 113 2009-04-14 18:39:12Z rosiere $
5 *
6 * [ Description ]
7 *
8 */
9
10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo              {
13namespace behavioural          {
14
[43]15#undef  FUNCTION
16#define FUNCTION "Vhdl::Vhdl"
[113]17  Vhdl::Vhdl  (std::string name,
18               std::string id):
19    _name                      (name),
20    _id                        (id),
21    _name_architecture_default ("morpheo_behavioural")
[2]22  {
[43]23    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
[113]24
25    _name_architecture = _name_architecture_default;
26//  _port_clock        = "";
27
28    set_library_default();
29
[43]30    log_printf(FUNC,Behavioural,FUNCTION,"End");
[2]31  };
32 
[43]33#undef  FUNCTION
34#define FUNCTION "Vhdl::~Vhdl"
[2]35  Vhdl::~Vhdl ()
36  {
[43]37    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
38    log_printf(FUNC,Behavioural,FUNCTION,"End");
[2]39  };
40 
41
42}; // end namespace behavioural         
43}; // end namespace morpheo             
44
45#endif
Note: See TracBrowser for help on using the repository browser.