Ignore:
Timestamp:
Feb 5, 2008, 5:21:20 PM (16 years ago)
Author:
rosiere
Message:
  • Add two component :
    • network between read unit and execute unit
    • network between execute unit and write unit
  • remove parameters "nb_operation" and "nb_type"
  • in write_queue add the special case : load_speculative
Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/SelfTest/config0.cfg

    r76 r77  
    9916      16      *2      # nb_general_register
    10102       2       +1      # nb_special_register
    11 40      40      +1      # nb_operation       
    12 6       6       +1      # nb_type           
    13114       4       *2      # nb_gpr_write
    14122       2       *2      # nb_spr_write
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/SelfTest/config1.cfg

    r76 r77  
    994       4       *2      # nb_general_register
    10104       4       +1      # nb_special_register
    11 40      40      +1      # nb_operation       
    12 6       6       +1      # nb_type           
    13112       4       *2      # nb_gpr_write
    14122       4       *2      # nb_spr_write
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/SelfTest/config2.cfg

    r76 r77  
    994       4       *2      # nb_general_register
    10104       4       +1      # nb_special_register
    11 40      40      +1      # nb_operation       
    12 6       6       +1      # nb_type           
    13111       1       *2      # nb_gpr_write
    14121       1       *2      # nb_spr_write
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/SelfTest/config_min.cfg

    r76 r77  
    9932      32      *2      # nb_general_register
    101032      32      +1      # nb_special_register
    11 12      12      +1      # nb_operation       
    12 5       5       +1      # nb_type           
    13111       1       *2      # nb_gpr_write
    14121       1       *2      # nb_spr_write
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/SelfTest/src/main.cpp

    r76 r77  
    88#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/SelfTest/include/test.h"
    99
    10 #define NB_PARAMS 15
     10#define NB_PARAMS 13
    1111
    1212void usage (int argc, char * argv[])
     
    2323       << " - nb_general_register (unsigned int)" << endl
    2424       << " - nb_special_register (unsigned int)" << endl
    25        << " - nb_operation        (unsigned int)" << endl
    26        << " - nb_type             (unsigned int)" << endl
    2725       << " - nb_gpr_write        (unsigned int)" << endl
    2826       << " - nb_spr_write        (unsigned int)" << endl
     
    5856  const uint32_t nb_general_register = atoi(argv[x++]);
    5957  const uint32_t nb_special_register = atoi(argv[x++]);
    60   const uint32_t nb_operation        = atoi(argv[x++]);
    61   const uint32_t nb_type             = atoi(argv[x++]);
    6258  const uint32_t nb_gpr_write        = atoi(argv[x++]);
    6359  const uint32_t nb_spr_write        = atoi(argv[x++]);
     
    7773         ,nb_general_register
    7874         ,nb_special_register
    79          ,nb_operation       
    80          ,nb_type           
    8175         ,nb_gpr_write
    8276         ,nb_spr_write
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/include/Parameters.h

    r76 r77  
    3737  public : const uint32_t    _nb_general_register  ;
    3838  public : const uint32_t    _nb_special_register  ;
    39   public : const uint32_t    _nb_operation         ;
    40   public : const uint32_t    _nb_type              ;
    4139  public : const uint32_t    _nb_gpr_write         ;
    4240  public : const uint32_t    _nb_spr_write         ;
     
    5250  public : const uint32_t    _size_general_register;
    5351  public : const uint32_t    _size_special_register;
    54   public : const uint32_t    _size_operation       ;
    55   public : const uint32_t    _size_type            ;
    5652
    5753  public : const bool        _have_port_context_id   ;
     
    7268                        uint32_t nb_general_register,
    7369                        uint32_t nb_special_register,
    74                         uint32_t nb_operation       ,
    75                         uint32_t nb_type            ,
    7670                        uint32_t nb_gpr_write       ,
    7771                        uint32_t nb_spr_write       ,
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Parameters.cpp

    r76 r77  
    2727                          uint32_t nb_general_register,
    2828                          uint32_t nb_special_register,
    29                           uint32_t nb_operation       ,
    30                           uint32_t nb_type            ,
    3129                          uint32_t nb_gpr_write       ,
    3230                          uint32_t nb_spr_write       ,
     
    4240    _nb_general_register   (nb_general_register  ),
    4341    _nb_special_register   (nb_special_register  ),
    44     _nb_operation          (nb_operation         ),
    45     _nb_type               (nb_type              ),
    4642    _nb_gpr_write          (nb_gpr_write         ),
    4743    _nb_spr_write          (nb_spr_write         ),
     
    5753    _size_general_register (static_cast<uint32_t>(log2(_nb_general_register))),
    5854    _size_special_register (static_cast<uint32_t>(log2(_nb_special_register))),
    59     _size_operation        (static_cast<uint32_t>(log2(_nb_operation       ))),
    60     _size_type             (static_cast<uint32_t>(log2(_nb_type            ))),
    6155
    6256    _have_port_context_id    (_size_context_id    > 0),
     
    10498    _nb_general_register   (param._nb_general_register   ),
    10599    _nb_special_register   (param._nb_special_register   ),
    106     _nb_operation          (param._nb_operation          ),
    107     _nb_type               (param._nb_type               ),
    108100    _nb_gpr_write          (param._nb_gpr_write          ),
    109101    _nb_spr_write          (param._nb_spr_write          ),
     
    119111    _size_general_register (param._size_general_register ),
    120112    _size_special_register (param._size_special_register ),
    121     _size_operation        (param._size_operation        ),
    122     _size_type             (param._size_type             ),
    123113
    124114    _have_port_context_id    (param._have_port_context_id   ),
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/src/Parameters_print.cpp

    r76 r77  
    3535    xml.singleton_begin("nb_general_register"); xml.attribut("value",toString(_nb_general_register)); xml.singleton_end();
    3636    xml.singleton_begin("nb_special_register"); xml.attribut("value",toString(_nb_special_register)); xml.singleton_end();
    37     xml.singleton_begin("nb_operation       "); xml.attribut("value",toString(_nb_operation       )); xml.singleton_end();
    38     xml.singleton_begin("nb_type            "); xml.attribut("value",toString(_nb_type            )); xml.singleton_end();
    3937    xml.singleton_begin("nb_gpr_write       "); xml.attribut("value",toString(_nb_gpr_write       )); xml.singleton_end();
    4038    xml.singleton_begin("nb_spr_write       "); xml.attribut("value",toString(_nb_spr_write       )); xml.singleton_end();
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/configuration_multi_port_bypass_memory.cfg

    r76 r77  
    101016      16      *2      # nb_general_register
    11118       8       +1      # nb_special_register
    12 8       8       +1      # nb_operation       
    13 4       4       +1      # nb_type           
    14121       1       *2      # nb_gpr_write
    15131       1       *2      # nb_spr_write
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/configuration_multi_port_bypass_write.cfg

    r76 r77  
    101016      16      *2      # nb_general_register
    11118       8       +1      # nb_special_register
    12 8       8       +1      # nb_operation       
    13 4       4       +1      # nb_type           
    14121       1       *2      # nb_gpr_write
    15131       1       *2      # nb_spr_write
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/configuration_multi_port_retire2.cfg

    r76 r77  
    101018      16      *2      # nb_general_register
    11118       8       +1      # nb_special_register
    12 8       8       +1      # nb_operation       
    13 4       4       +1      # nb_type           
    14121       1       *2      # nb_gpr_write
    15131       1       *2      # nb_spr_write
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/configuration_multi_port_retire4.cfg

    r76 r77  
    101016      16      *2      # nb_general_register
    11118       8       +1      # nb_special_register
    12 8       8       +1      # nb_operation       
    13 4       4       +1      # nb_type           
    14121       1       *2      # nb_gpr_write
    15131       1       *2      # nb_spr_write
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/configuration_multi_port_write.cfg

    r76 r77  
    101016      16      *2      # nb_general_register
    11118       8       +1      # nb_special_register
    12 8       8       +1      # nb_operation       
    13 4       4       +1      # nb_type           
    14122       4       *2      # nb_gpr_write
    15132       4       *2      # nb_spr_write
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/src/main.cpp

    r76 r77  
    88#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/include/test.h"
    99
    10 #define NB_PARAMS 18
     10#define NB_PARAMS 16
    1111
    1212void usage (int argc, char * argv[])
     
    2424       << " - nb_general_register (unsigned int)" << endl
    2525       << " - nb_special_register (unsigned int)" << endl
    26        << " - nb_operation        (unsigned int)" << endl
    27        << " - nb_type             (unsigned int)" << endl
    2826       << " - nb_gpr_write        (unsigned int)" << endl
    2927       << " - nb_spr_write        (unsigned int)" << endl
     
    6260  const uint32_t nb_general_register = atoi(argv[x++]);
    6361  const uint32_t nb_special_register = atoi(argv[x++]);
    64   const uint32_t nb_operation        = atoi(argv[x++]);
    65   const uint32_t nb_type             = atoi(argv[x++]);
    6662  const uint32_t nb_gpr_write        = atoi(argv[x++]);
    6763  const uint32_t nb_spr_write        = atoi(argv[x++]);
     
    8480         ,nb_general_register
    8581         ,nb_special_register
    86          ,nb_operation       
    87          ,nb_type           
    8882         ,nb_gpr_write
    8983         ,nb_spr_write
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/include/Parameters.h

    r76 r77  
    3636  public : const uint32_t    _nb_general_register  ;
    3737  public : const uint32_t    _nb_special_register  ;
    38   public : const uint32_t    _nb_operation         ;
    39   public : const uint32_t    _nb_type              ;
    4038  public : const uint32_t    _nb_gpr_write         ;
    4139  public : const uint32_t    _nb_spr_write         ;
     
    5957  public : const uint32_t    _size_general_register;
    6058  public : const uint32_t    _size_special_register;
    61   public : const uint32_t    _size_operation       ;
    62   public : const uint32_t    _size_type            ;
    6359
    6460  public : const bool        _have_port_context_id   ;
     
    7874                        uint32_t nb_general_register,
    7975                        uint32_t nb_special_register,
    80                         uint32_t nb_operation       ,
    81                         uint32_t nb_type            ,
    8276                        uint32_t nb_gpr_write       ,
    8377                        uint32_t nb_spr_write       ,
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src/Parameters.cpp

    r76 r77  
    3030                          uint32_t nb_general_register,
    3131                          uint32_t nb_special_register,
    32                           uint32_t nb_operation       ,
    33                           uint32_t nb_type            ,
    3432                          uint32_t nb_gpr_write       ,
    3533                          uint32_t nb_spr_write       ,
     
    4846    _nb_general_register   (nb_general_register  ),
    4947    _nb_special_register   (nb_special_register  ),
    50     _nb_operation          (nb_operation         ),
    51     _nb_type               (nb_type              ),
    5248    _nb_gpr_write          (nb_gpr_write         ),
    5349    _nb_spr_write          (nb_spr_write         ),
     
    6359    _size_general_register (static_cast<uint32_t>(log2(_nb_general_register))),
    6460    _size_special_register (static_cast<uint32_t>(log2(_nb_special_register))),
    65     _size_operation        (static_cast<uint32_t>(log2(_nb_operation       ))),
    66     _size_type             (static_cast<uint32_t>(log2(_nb_type            ))),
    6761
    6862    _have_port_context_id    (_size_context_id    > 0),
     
    8983    _nb_general_register   (param._nb_general_register   ),
    9084    _nb_special_register   (param._nb_special_register   ),
    91     _nb_operation          (param._nb_operation          ),
    92     _nb_type               (param._nb_type               ),
    9385    _nb_gpr_write          (param._nb_gpr_write          ),
    9486    _nb_spr_write          (param._nb_spr_write          ),
     
    10496    _size_general_register (param._size_general_register ),
    10597    _size_special_register (param._size_special_register ),
    106     _size_operation        (param._size_operation        ),
    107     _size_type             (param._size_type             ),
    10898
    10999    _have_port_context_id    (param._have_port_context_id   ),
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src/Parameters_print.cpp

    r76 r77  
    3838    xml.singleton_begin("nb_general_register"); xml.attribut("value",toString(_nb_general_register)); xml.singleton_end();
    3939    xml.singleton_begin("nb_special_register"); xml.attribut("value",toString(_nb_special_register)); xml.singleton_end();
    40     xml.singleton_begin("nb_operation       "); xml.attribut("value",toString(_nb_operation       )); xml.singleton_end();
    41     xml.singleton_begin("nb_type            "); xml.attribut("value",toString(_nb_type            )); xml.singleton_end();
    4240    xml.singleton_begin("nb_gpr_write       "); xml.attribut("value",toString(_nb_gpr_write       )); xml.singleton_end();
    4341    xml.singleton_begin("nb_spr_write       "); xml.attribut("value",toString(_nb_spr_write       )); xml.singleton_end();
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/SelfTest/configuration.cfg

    r76 r77  
    101064      64      *2      # nb_general_register     
    111116      16      *2      # nb_special_register     
    12 10      10      *2      # nb_operation           
    13 4       4       *2      # nb_type                 
    14122       2       *2      # nb_gpr_write           
    15132       2       *2      # nb_spr_write           
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/SelfTest/src/main.cpp

    r76 r77  
    88#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/SelfTest/include/test.h"
    99
    10 #define NB_PARAMS 19
     10#define NB_PARAMS 17
    1111
    1212void usage (int argc, char * argv[])
     
    2424  err (_(" * nb_general_register      (uint32_t)\n"));
    2525  err (_(" * nb_special_register      (uint32_t)\n"));
    26   err (_(" * nb_operation             (uint32_t)\n"));
    27   err (_(" * nb_type                  (uint32_t)\n"));
    2826  err (_(" * nb_gpr_write             (uint32_t)\n"));
    2927  err (_(" * nb_spr_write             (uint32_t)\n"));
     
    5957  const uint32_t    _nb_general_register      = atoi(argv[x++]);
    6058  const uint32_t    _nb_special_register      = atoi(argv[x++]);
    61   const uint32_t    _nb_operation             = atoi(argv[x++]);
    62   const uint32_t    _nb_type                  = atoi(argv[x++]);
    6359  const uint32_t    _nb_gpr_write             = atoi(argv[x++]);
    6460  const uint32_t    _nb_spr_write             = atoi(argv[x++]);
     
    8379         _nb_general_register     ,
    8480         _nb_special_register     ,
    85          _nb_operation            ,
    86          _nb_type                 ,
    8781         _nb_gpr_write            ,
    8882         _nb_spr_write            ,
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/include/Parameters.h

    r76 r77  
    3636  public : const uint32_t    _nb_general_register     ;
    3737  public : const uint32_t    _nb_special_register     ;
    38   public : const uint32_t    _nb_operation            ;
    39   public : const uint32_t    _nb_type                 ;
    4038  public : const uint32_t    _nb_gpr_write            ;
    4139  public : const uint32_t    _nb_spr_write            ;
     
    5452  public : const uint32_t    _size_general_register   ;
    5553  public : const uint32_t    _size_special_register   ;
    56   public : const uint32_t    _size_operation          ;
    57   public : const uint32_t    _size_type               ;
    5854
    5955  public : const bool        _have_port_context_id    ;
     
    7672                        uint32_t nb_general_register     ,
    7773                        uint32_t nb_special_register     ,
    78                         uint32_t nb_operation            ,
    79                         uint32_t nb_type                 ,
    8074                        uint32_t nb_gpr_write            ,
    8175                        uint32_t nb_spr_write            ,
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/src/Parameters.cpp

    r76 r77  
    2929                          uint32_t nb_general_register     ,
    3030                          uint32_t nb_special_register     ,
    31                           uint32_t nb_operation            ,
    32                           uint32_t nb_type                 ,
    3331                          uint32_t nb_gpr_write            ,
    3432                          uint32_t nb_spr_write            ,
     
    4846    _nb_general_register      (nb_general_register     ),
    4947    _nb_special_register      (nb_special_register     ),
    50     _nb_operation             (nb_operation            ),
    51     _nb_type                  (nb_type                 ),
    5248    _nb_gpr_write             (nb_gpr_write            ),
    5349    _nb_spr_write             (nb_spr_write            ),
     
    6662    _size_general_register    (log2(nb_general_register)),
    6763    _size_special_register    (log2(nb_special_register)),
    68     _size_operation           (log2(nb_operation       )),
    69     _size_type                (log2(nb_type            )),
    7064   
    7165    _have_port_context_id     (_size_context_id   >0),
     
    8680        ,_nb_general_register
    8781        ,_nb_special_register
    88         ,_nb_operation       
    89         ,_nb_type           
    9082        ,_nb_gpr_write
    9183        ,_nb_spr_write
     
    10597         ,nb_general_register
    10698         ,nb_special_register
    107          ,nb_operation       
    108          ,nb_type           
    10999         ,nb_gpr_write
    110100         ,nb_spr_write
     
    134124    _nb_general_register      (param._nb_general_register     ),
    135125    _nb_special_register      (param._nb_special_register     ),
    136     _nb_operation             (param._nb_operation            ),
    137     _nb_type                  (param._nb_type                 ),
    138126    _nb_gpr_write             (param._nb_gpr_write            ),
    139127    _nb_spr_write             (param._nb_spr_write            ),
     
    152140    _size_general_register    (param._size_general_register   ),
    153141    _size_special_register    (param._size_special_register   ),
    154     _size_operation           (param._size_operation          ),
    155     _size_type                (param._size_type               ),
    156142
    157143    _have_port_context_id     (param._have_port_context_id    ),
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/src/Parameters_print.cpp

    r76 r77  
    3737    xml.singleton_begin("nb_general_register     "); xml.attribut("value",toString(_nb_general_register     )); xml.singleton_end();
    3838    xml.singleton_begin("nb_special_register     "); xml.attribut("value",toString(_nb_special_register     )); xml.singleton_end();
    39     xml.singleton_begin("nb_operation            "); xml.attribut("value",toString(_nb_operation            )); xml.singleton_end();
    40     xml.singleton_begin("nb_type                 "); xml.attribut("value",toString(_nb_type                 )); xml.singleton_end();
    4139    xml.singleton_begin("nb_gpr_write            "); xml.attribut("value",toString(_nb_gpr_write            )); xml.singleton_end();
    4240    xml.singleton_begin("nb_spr_write            "); xml.attribut("value",toString(_nb_spr_write            )); xml.singleton_end();
Note: See TracChangeset for help on using the changeset viewer.