source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Comparator/src/Parameters.cpp @ 112

Last change on this file since 112 was 112, checked in by rosiere, 15 years ago

1) Stat_list : fix retire old and new register bug
2) Stat_list : remove read_counter and valid flag, because validation of destination is in retire step (not in commit step)
3) Model : add class Model (cf Morpheo.sim)
4) Allocation : alloc_interface_begin and alloc_interface_end to delete temporary array.
5) Script : add distexe.sh
6) Add Comparator, Multiplier, Divider. But this component are not implemented
7) Software : add Dhrystone

  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1/*
2 * $Id: Parameters.cpp 112 2009-03-18 22:36:26Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/Comparator/include/Parameters.h"
9
10namespace morpheo {
11namespace behavioural {
12namespace generic {
13namespace comparator {
14
15
16#undef  FUNCTION
17#define FUNCTION "Comparator::Parameters"
18  Parameters::Parameters (uint32_t             size_data,
19                          bool                 is_signed,
20                          Tcomparator_scheme_t type     ,
21                          bool is_toplevel)
22  {
23    log_begin(Comparator,FUNCTION);
24
25    _size_data = size_data;
26    _is_signed = is_signed;
27    _type      = type     ;
28
29    test();
30
31    if (is_toplevel)
32      {
33        copy();
34      }
35
36    log_end(Comparator,FUNCTION);
37  };
38 
39// #undef  FUNCTION
40// #define FUNCTION "Comparator::Parameters (copy)"
41//   Parameters::Parameters (Parameters & param)
42//   {
43//     log_begin(Comparator,FUNCTION);
44//     test();
45//     log_end(Comparator,FUNCTION);
46//   };
47
48#undef  FUNCTION
49#define FUNCTION "Comparator::~Parameters"
50  Parameters::~Parameters (void) 
51  {
52    log_begin(Comparator,FUNCTION);
53    log_end(Comparator,FUNCTION);
54  };
55
56#undef  FUNCTION
57#define FUNCTION "Comparator::copy"
58  void Parameters::copy (void) 
59  {
60    log_begin(Comparator,FUNCTION);
61    log_end(Comparator,FUNCTION);
62  };
63
64}; // end namespace comparator
65}; // end namespace generic
66
67}; // end namespace behavioural
68}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.