source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/src/RegisterFile_Multi_Banked_Glue_genMealy_read_in.cpp @ 19

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

Interface normalisé
Début du banc de registres multi niveaux

File size: 1.6 KB
Line 
1#ifdef SYSTEMC
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/include/RegisterFile_Multi_Banked_Glue.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace generic {
14namespace registerfile{
15namespace registerfile_multi_banked {
16namespace registerfile_multi_banked_glue {
17
18 
19  void RegisterFile_Multi_Banked_Glue::genMealy_read_in (void)
20  {
21    log_printf(FUNC,RegisterFile_Multi_Banked_Glue,"genMealy_read_in","Begin");
22   
23    for (uint32_t l=0; l<_param._nb_port_read; l++)
24      {
25        uint32_t num_bank = PORT_READ(in_READ_IN_ADDRESS [l])>>_param._shift_address;
26
27//      (*(out_READ_IN_ACK  [l])) (*(in_READ_IN_ADDRESS [i][j]));
28//      (*(out_READ_IN_DATA [l])) (*(in_READ_IN_ADDRESS [i][j]));
29
30//      for (uint32_t i=0; i<_param._nb_bank; i++)
31//        for (uint32_t j=0; j<_param._nb_port_read_by_bank; j++)
32//          {
33//            (*(out_READ_IN_ACK  [l])) (*(in_READ_OUT_ACK      [i][j]));
34//            (*(out_READ_IN_DATA [l])) (*(in_READ_OUT_DATA     [i][j]));
35//            for (uint32_t k=0; k<_param._nb_port_select_by_bank_read_port[j]; k++)
36//              {
37//                (*(out_READ_IN_ACK  [l])) (*(in_READ_SELECT_ACK [i][j][k]));
38//                (*(out_READ_IN_DATA [l])) (*(in_READ_SELECT_ACK [i][j][k]));
39//              }
40//          }
41      }
42
43
44    log_printf(FUNC,RegisterFile_Multi_Banked_Glue,"genMealy_read_in","End");
45  };
46
47}; // end namespace registerfile_multi_banked_glue
48}; // end namespace registerfile_multi_banked
49}; // end namespace registerfile
50}; // end namespace generic
51}; // end namespace behavioural
52}; // end namespace morpheo             
53#endif
Note: See TracBrowser for help on using the repository browser.