Ignore:
Timestamp:
Mar 18, 2009, 11:36:26 PM (15 years ago)
Author:
rosiere
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/src/Register_translation_unit_deallocation.cpp

    r104 r112  
    2929        delete    in_NRESET;
    3030
    31         delete []  in_RENAME_VAL               ;
    32         delete [] out_RENAME_ACK               ;
    33         if (_param->_have_port_front_end_id)
    34         delete []  in_RENAME_FRONT_END_ID      ;
    35         if (_param->_have_port_context_id)
    36         delete []  in_RENAME_CONTEXT_ID        ;
    37         delete []  in_RENAME_READ_RA           ;
    38         delete []  in_RENAME_NUM_REG_RA_LOG    ;
    39         delete []  in_RENAME_READ_RB           ;
    40         delete []  in_RENAME_NUM_REG_RB_LOG    ;
    41         delete []  in_RENAME_READ_RC           ;
    42         delete []  in_RENAME_NUM_REG_RC_LOG    ;
    43         delete []  in_RENAME_WRITE_RD          ;
    44         delete []  in_RENAME_NUM_REG_RD_LOG    ;
    45         delete []  in_RENAME_WRITE_RE          ;
    46         delete []  in_RENAME_NUM_REG_RE_LOG    ;
     31        DELETE1_SIGNAL( in_RENAME_VAL           ,_param->_nb_inst_insert,1);
     32        DELETE1_SIGNAL(out_RENAME_ACK           ,_param->_nb_inst_insert,1);
     33        DELETE1_SIGNAL( in_RENAME_FRONT_END_ID  ,_param->_nb_inst_insert,_param->_size_front_end_id          );
     34        DELETE1_SIGNAL( in_RENAME_CONTEXT_ID    ,_param->_nb_inst_insert,_param->_size_context_id            );
     35        DELETE1_SIGNAL( in_RENAME_READ_RA       ,_param->_nb_inst_insert,1                                   );
     36        DELETE1_SIGNAL( in_RENAME_NUM_REG_RA_LOG,_param->_nb_inst_insert,_param->_size_general_register_logic);
     37        DELETE1_SIGNAL( in_RENAME_READ_RB       ,_param->_nb_inst_insert,1                                   );
     38        DELETE1_SIGNAL( in_RENAME_NUM_REG_RB_LOG,_param->_nb_inst_insert,_param->_size_general_register_logic);
     39        DELETE1_SIGNAL( in_RENAME_READ_RC       ,_param->_nb_inst_insert,1                                   );
     40        DELETE1_SIGNAL( in_RENAME_NUM_REG_RC_LOG,_param->_nb_inst_insert,_param->_size_special_register_logic);
     41        DELETE1_SIGNAL( in_RENAME_WRITE_RD      ,_param->_nb_inst_insert,1                                   );
     42        DELETE1_SIGNAL( in_RENAME_NUM_REG_RD_LOG,_param->_nb_inst_insert,_param->_size_general_register_logic);
     43        DELETE1_SIGNAL( in_RENAME_WRITE_RE      ,_param->_nb_inst_insert,1                                   );
     44        DELETE1_SIGNAL( in_RENAME_NUM_REG_RE_LOG,_param->_nb_inst_insert,_param->_size_special_register_logic);
    4745
    48         delete [] out_INSERT_VAL               ;
    49         delete []  in_INSERT_ACK               ;
    50         if (_param->_have_port_front_end_id)
    51         delete [] out_INSERT_FRONT_END_ID      ;
    52         if (_param->_have_port_context_id)
    53         delete [] out_INSERT_CONTEXT_ID        ;
    54         delete [] out_INSERT_READ_RA           ;
    55         delete [] out_INSERT_NUM_REG_RA_LOG    ;
    56         delete [] out_INSERT_NUM_REG_RA_PHY    ;
    57         delete [] out_INSERT_READ_RB           ;
    58         delete [] out_INSERT_NUM_REG_RB_LOG    ;
    59         delete [] out_INSERT_NUM_REG_RB_PHY    ;
    60         delete [] out_INSERT_READ_RC           ;
    61         delete [] out_INSERT_NUM_REG_RC_LOG    ;
    62         delete [] out_INSERT_NUM_REG_RC_PHY    ;
    63         delete [] out_INSERT_WRITE_RD          ;
    64         delete [] out_INSERT_NUM_REG_RD_LOG    ;
    65         delete [] out_INSERT_NUM_REG_RD_PHY_OLD;
    66         delete [] out_INSERT_NUM_REG_RD_PHY_NEW;
    67         delete [] out_INSERT_WRITE_RE          ;
    68         delete [] out_INSERT_NUM_REG_RE_LOG    ;
    69         delete [] out_INSERT_NUM_REG_RE_PHY_OLD;
    70         delete [] out_INSERT_NUM_REG_RE_PHY_NEW;
     46        DELETE1_SIGNAL(out_INSERT_VAL               ,_param->_nb_inst_insert,1);
     47        DELETE1_SIGNAL( in_INSERT_ACK               ,_param->_nb_inst_insert,1);
     48        DELETE1_SIGNAL(out_INSERT_FRONT_END_ID      ,_param->_nb_inst_insert,_param->_size_front_end_id          );
     49        DELETE1_SIGNAL(out_INSERT_CONTEXT_ID        ,_param->_nb_inst_insert,_param->_size_context_id            );
     50        DELETE1_SIGNAL(out_INSERT_READ_RA           ,_param->_nb_inst_insert,1                                   );
     51        DELETE1_SIGNAL(out_INSERT_NUM_REG_RA_LOG    ,_param->_nb_inst_insert,_param->_size_general_register_logic);
     52        DELETE1_SIGNAL(out_INSERT_NUM_REG_RA_PHY    ,_param->_nb_inst_insert,_param->_size_general_register      );
     53        DELETE1_SIGNAL(out_INSERT_READ_RB           ,_param->_nb_inst_insert,1                                   );
     54        DELETE1_SIGNAL(out_INSERT_NUM_REG_RB_LOG    ,_param->_nb_inst_insert,_param->_size_general_register_logic);
     55        DELETE1_SIGNAL(out_INSERT_NUM_REG_RB_PHY    ,_param->_nb_inst_insert,_param->_size_general_register      );
     56        DELETE1_SIGNAL(out_INSERT_READ_RC           ,_param->_nb_inst_insert,1                                   );
     57        DELETE1_SIGNAL(out_INSERT_NUM_REG_RC_LOG    ,_param->_nb_inst_insert,_param->_size_special_register_logic);
     58        DELETE1_SIGNAL(out_INSERT_NUM_REG_RC_PHY    ,_param->_nb_inst_insert,_param->_size_special_register      );
     59        DELETE1_SIGNAL(out_INSERT_WRITE_RD          ,_param->_nb_inst_insert,1                                   );
     60        DELETE1_SIGNAL(out_INSERT_NUM_REG_RD_LOG    ,_param->_nb_inst_insert,_param->_size_general_register_logic);
     61        DELETE1_SIGNAL(out_INSERT_NUM_REG_RD_PHY_OLD,_param->_nb_inst_insert,_param->_size_general_register      );
     62        DELETE1_SIGNAL(out_INSERT_NUM_REG_RD_PHY_NEW,_param->_nb_inst_insert,_param->_size_general_register      );
     63        DELETE1_SIGNAL(out_INSERT_WRITE_RE          ,_param->_nb_inst_insert,1                                   );
     64        DELETE1_SIGNAL(out_INSERT_NUM_REG_RE_LOG    ,_param->_nb_inst_insert,_param->_size_special_register_logic);
     65        DELETE1_SIGNAL(out_INSERT_NUM_REG_RE_PHY_OLD,_param->_nb_inst_insert,_param->_size_special_register      );
     66        DELETE1_SIGNAL(out_INSERT_NUM_REG_RE_PHY_NEW,_param->_nb_inst_insert,_param->_size_special_register      );
    7167
    72         delete []  in_RETIRE_VAL               ;
    73         delete [] out_RETIRE_ACK               ;
    74         if (_param->_have_port_front_end_id)
    75         delete []  in_RETIRE_FRONT_END_ID      ;
    76         if (_param->_have_port_context_id)
    77         delete []  in_RETIRE_CONTEXT_ID        ;
    78         delete []  in_RETIRE_READ_RA           ;
    79         delete []  in_RETIRE_NUM_REG_RA_PHY    ;
    80         delete []  in_RETIRE_READ_RB           ;
    81         delete []  in_RETIRE_NUM_REG_RB_PHY    ;
    82         delete []  in_RETIRE_READ_RC           ;
    83         delete []  in_RETIRE_NUM_REG_RC_PHY    ;
    84         delete []  in_RETIRE_WRITE_RD          ;
    85         delete []  in_RETIRE_NUM_REG_RD_LOG    ;
    86         delete []  in_RETIRE_NUM_REG_RD_PHY_OLD;
    87         delete []  in_RETIRE_NUM_REG_RD_PHY_NEW;
    88         delete []  in_RETIRE_WRITE_RE          ;
    89         delete []  in_RETIRE_NUM_REG_RE_LOG    ;
    90         delete []  in_RETIRE_NUM_REG_RE_PHY_OLD;
    91         delete []  in_RETIRE_NUM_REG_RE_PHY_NEW;
     68        DELETE1_SIGNAL( in_RETIRE_VAL               ,_param->_nb_inst_retire,1);
     69        DELETE1_SIGNAL(out_RETIRE_ACK               ,_param->_nb_inst_retire,1);
     70        DELETE1_SIGNAL( in_RETIRE_FRONT_END_ID      ,_param->_nb_inst_retire,_param->_size_front_end_id          );
     71        DELETE1_SIGNAL( in_RETIRE_CONTEXT_ID        ,_param->_nb_inst_retire,_param->_size_context_id            );
     72        DELETE1_SIGNAL( in_RETIRE_READ_RA           ,_param->_nb_inst_retire,1                                   );
     73        DELETE1_SIGNAL( in_RETIRE_NUM_REG_RA_PHY    ,_param->_nb_inst_retire,_param->_size_general_register      );
     74        DELETE1_SIGNAL( in_RETIRE_READ_RB           ,_param->_nb_inst_retire,1                                   );
     75        DELETE1_SIGNAL( in_RETIRE_NUM_REG_RB_PHY    ,_param->_nb_inst_retire,_param->_size_general_register      );
     76        DELETE1_SIGNAL( in_RETIRE_READ_RC           ,_param->_nb_inst_retire,1                                   );
     77        DELETE1_SIGNAL( in_RETIRE_NUM_REG_RC_PHY    ,_param->_nb_inst_retire,_param->_size_special_register      );
     78        DELETE1_SIGNAL( in_RETIRE_WRITE_RD          ,_param->_nb_inst_retire,1                                   );
     79        DELETE1_SIGNAL( in_RETIRE_NUM_REG_RD_LOG    ,_param->_nb_inst_retire,_param->_size_general_register_logic);
     80        DELETE1_SIGNAL( in_RETIRE_NUM_REG_RD_PHY_OLD,_param->_nb_inst_retire,_param->_size_general_register      );
     81        DELETE1_SIGNAL( in_RETIRE_NUM_REG_RD_PHY_NEW,_param->_nb_inst_retire,_param->_size_general_register      );
     82        DELETE1_SIGNAL( in_RETIRE_WRITE_RE          ,_param->_nb_inst_retire,1                                   );
     83        DELETE1_SIGNAL( in_RETIRE_NUM_REG_RE_LOG    ,_param->_nb_inst_retire,_param->_size_special_register_logic);
     84        DELETE1_SIGNAL( in_RETIRE_NUM_REG_RE_PHY_OLD,_param->_nb_inst_retire,_param->_size_special_register      );
     85        DELETE1_SIGNAL( in_RETIRE_NUM_REG_RE_PHY_NEW,_param->_nb_inst_retire,_param->_size_special_register      );
    9286
    9387        DELETE2_SIGNAL( in_RETIRE_EVENT_VAL            ,_param->_nb_front_end, _param->_nb_context[it1],1);
Note: See TracChangeset for help on using the changeset viewer.