source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_statistics_allocation.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

File size: 641 bytes
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
10
11namespace morpheo {
12namespace behavioural {
13@NAMESPACE_BEGIN
14
15#undef  FUNCTION
16#define FUNCTION "@COMPONENT::statistics_allocation"
17  void @COMPONENT::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics)
18  {
19    log_begin(@COMPONENT,FUNCTION);
20
21    _stat = new Stat (static_cast<std::string>(_name),
22                      _param->_type,
23                      param_statistics);
24   
25    log_end(@COMPONENT,FUNCTION);
26  };
27
28@NAMESPACE_END
29}; // end namespace behavioural
30}; // end namespace morpheo             
31#endif
Note: See TracBrowser for help on using the repository browser.