source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Parameters.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: 1.1 KB
Line 
1/*
2 * $Id: Parameters.cpp 88 2008-12-10 18:31:39Z 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    _size_data(size_data),
19    _nb_port  (nb_port  ),
20    _data_max ((1<<size_data)-1)
21  {
22    log_printf(FUNC,Counter,"Parameters","Begin");
23    test();
24    log_printf(FUNC,Counter,"Parameters","End");
25  };
26 
27//   Parameters::Parameters (Parameters & param):
28//     _size_data(param._size_data),
29//     _nb_port  (param._nb_port  ),
30//     _data_max (param._data_max )
31//   {
32//     log_printf(FUNC,Counter,"Parameters","Begin");
33//     test();
34//     log_printf(FUNC,Counter,"Parameters","End");
35//   };
36
37  Parameters::~Parameters () 
38  {
39    log_printf(FUNC,Counter,"~Parameters","Begin");
40    log_printf(FUNC,Counter,"~Parameters","End");
41  };
42
43  void Parameters::copy (void) 
44  {
45    log_printf(FUNC,Counter,"copy","Begin");
46    log_printf(FUNC,Counter,"copy","End");
47  };
48
49}; // end namespace counter
50}; // end namespace generic
51}; // end namespace behavioural
52}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.