source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Parameters.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

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1/*
2 * $Id: Parameters.cpp 113 2009-04-14 18:39:12Z 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    _size_data(size_data),
20    _nb_port  (nb_port  ),
21    _data_max ((1<<size_data)-1)
22  {
23    log_printf(FUNC,Counter,"Parameters","Begin");
24    test();
25    log_printf(FUNC,Counter,"Parameters","End");
26  };
27 
28//   Parameters::Parameters (Parameters & param):
29//     _size_data(param._size_data),
30//     _nb_port  (param._nb_port  ),
31//     _data_max (param._data_max )
32//   {
33//     log_printf(FUNC,Counter,"Parameters","Begin");
34//     test();
35//     log_printf(FUNC,Counter,"Parameters","End");
36//   };
37
38  Parameters::~Parameters () 
39  {
40    log_printf(FUNC,Counter,"~Parameters","Begin");
41    log_printf(FUNC,Counter,"~Parameters","End");
42  };
43
44  void Parameters::copy (void) 
45  {
46    log_printf(FUNC,Counter,"copy","Begin");
47    log_printf(FUNC,Counter,"copy","End");
48  };
49
50}; // end namespace counter
51}; // end namespace generic
52}; // end namespace behavioural
53}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.