source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Parameters.cpp @ 78

Last change on this file since 78 was 78, checked in by rosiere, 16 years ago

Add :

  • Execute_loop (must be test systemC)
  • Prediction
    • Direction : predifined scheme
    • Branch Target Buffer
  • iFetch_unit
    • ifetch_queue
    • pc management
  • Decod_unit
    • coming soon : support for custom operation
  • Rename_unit
    • RAT
    • Free_list
    • Dependence RAW check
    • Load store unit pointer
  • New Environnement (hierarchy_memory will remove in a next version)


Modif :

  • Manage Custom Operation
  • All component in execute_loop to use the new statistics management

Not Finish :

  • Return Address Stack
  • Environnement
File size: 1.4 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/Sort/include/Parameters.h"
9
10namespace morpheo {
11namespace behavioural {
12namespace generic {
13namespace sort {
14
15
16#undef  FUNCTION
17#define FUNCTION "Sort::Parameters"
18  Parameters::Parameters (uint32_t nb_input           ,
19                          uint32_t nb_output          ,
20                          bool     ascending          ,
21                          uint32_t size_data          ,
22                          bool     have_port_index_out,
23                          bool     have_port_data_out )
24  {
25    log_printf(FUNC,Sort,FUNCTION,"Begin");
26   
27    _nb_input            = nb_input           ;
28    _nb_output           = nb_output          ;
29    _ascending           = ascending          ;
30    _size_data           = size_data          ;
31    _have_port_index_out = have_port_index_out;
32    _have_port_data_out  = have_port_data_out ;
33
34    _size_address        = log2(nb_input);
35
36    test();
37    log_printf(FUNC,Sort,FUNCTION,"End");
38  };
39 
40// #undef  FUNCTION
41// #define FUNCTION "Sort::Parameters (copy)"
42//   Parameters::Parameters (Parameters & param)
43//   {
44//     log_printf(FUNC,Sort,FUNCTION,"Begin");
45//     test();
46//     log_printf(FUNC,Sort,FUNCTION,"End");
47//   };
48
49#undef  FUNCTION
50#define FUNCTION "Sort::~Parameters"
51  Parameters::~Parameters () 
52  {
53    log_printf(FUNC,Sort,FUNCTION,"Begin");
54    log_printf(FUNC,Sort,FUNCTION,"End");
55  };
56
57}; // end namespace sort
58}; // end namespace generic
59
60}; // end namespace behavioural
61}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.