source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Parameters.cpp

Last change on this file was 137, checked in by rosiere, 14 years ago

Various modif (add test, and vhdl)

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1/*
2 * $Id: Parameters.cpp 137 2010-02-16 12:35:48Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/Counter/include/Parameters.h"
9
10namespace morpheo {
11namespace behavioural {
12namespace generic {
13namespace counter {
14
15
16  Parameters::Parameters (uint32_t size_data,
17                          uint32_t nb_port  ):
18    behavioural::Parameters("Counter")
19  {
20    log_printf(FUNC,Counter,"Parameters","Begin");
21
22    _size_data = size_data;
23    _nb_port   = nb_port  ;
24    _data_max  = (1<<size_data)-1;
25
26    test();
27    log_printf(FUNC,Counter,"Parameters","End");
28  };
29 
30//   Parameters::Parameters (Parameters & param):
31//     _size_data(param._size_data),
32//     _nb_port  (param._nb_port  ),
33//     _data_max (param._data_max )
34//   {
35//     log_printf(FUNC,Counter,"Parameters","Begin");
36//     test();
37//     log_printf(FUNC,Counter,"Parameters","End");
38//   };
39
40  Parameters::~Parameters () 
41  {
42    log_printf(FUNC,Counter,"~Parameters","Begin");
43    log_printf(FUNC,Counter,"~Parameters","End");
44  };
45
46  void Parameters::copy (void) 
47  {
48    log_printf(FUNC,Counter,"copy","Begin");
49    log_printf(FUNC,Counter,"copy","End");
50  };
51
52}; // end namespace counter
53}; // end namespace generic
54}; // end namespace behavioural
55}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.