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/Generic/Shifter/src/Shifter_deallocation.cpp

    r88 r112  
    77
    88#include "Behavioural/Generic/Shifter/include/Shifter.h"
     9#include "Behavioural/include/Allocation.h"
    910
    1011namespace morpheo                    {
     
    1920      {
    2021#if (defined(STATISTICS) || defined (VHDL_TESTBENCH))
    21     delete     in_CLOCK;
     22        delete     in_CLOCK;
    2223#endif
    2324
    24     delete []  in_SHIFTER_DATA      ;
    25     if (_param->_shift_value == 0)
    26     delete []  in_SHIFTER_SHIFT     ;
    27     if (_param->_direction   == external_direction )
    28     delete []  in_SHIFTER_DIRECTION ;
    29     if (_param->_rotate      == external_rotate    )
    30     delete []  in_SHIFTER_TYPE      ;
    31     if (_param->_carry       == external_carry     )
    32     delete []  in_SHIFTER_CARRY     ;
    33     if (_param->_carry       == external_completion)
    34     if (_param->_type_completion_bool == true)
    35     delete []  in_SHIFTER_CARRY_IN  ;
    36     else
    37     delete []  in_SHIFTER_COMPLETION;
    38     delete [] out_SHIFTER_DATA      ;
     25        DELETE1_SIGNAL( in_SHIFTER_DATA       ,_param->_nb_port,_param->_size_data);
     26        if (_param->_shift_value == 0)
     27        DELETE1_SIGNAL( in_SHIFTER_SHIFT      ,_param->_nb_port,_param->_size_shift);
     28        if (_param->_direction == external_direction)
     29        DELETE1_SIGNAL( in_SHIFTER_DIRECTION  ,_param->_nb_port,1);
     30        if (_param->_rotate == external_rotate)
     31        DELETE1_SIGNAL( in_SHIFTER_TYPE       ,_param->_nb_port,1);
     32        if (_param->_carry == external_carry)
     33        DELETE1_SIGNAL( in_SHIFTER_CARRY      ,_param->_nb_port,1);
     34        if (_param->_carry == external_completion)
     35        {
     36        if (_param->_type_completion_bool == true)
     37          {
     38        DELETE1_SIGNAL( in_SHIFTER_CARRY_IN   ,_param->_nb_port,1);
     39          }
     40        else
     41          {
     42        DELETE1_SIGNAL( in_SHIFTER_COMPLETION ,_param->_nb_port,_param->_size_data_completion);
     43          }
     44        }
     45        DELETE1_SIGNAL(out_SHIFTER_DATA       ,_param->_nb_port,_param->_size_data);
    3946      }
    4047
Note: See TracChangeset for help on using the changeset viewer.