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

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 1015 bytes
Line 
1/*
2 * $Id$
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}; // end namespace counter
44}; // end namespace generic
45
46}; // end namespace behavioural
47}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.