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/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_deallocation.cpp

    r88 r112  
    22 * $Id$
    33 *
    4  * [ Description ]
     4 * [ Description ]
    55 *
    66 */
    77
    88#include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/RegisterFile_Monolithic.h"
     9#include "Behavioural/include/Allocation.h"
    910
    1011namespace morpheo                    {
     
    2223        delete    in_CLOCK;
    2324        delete    in_NRESET;
    24         // ----- Interface Read
    25         delete []  in_READ_VAL    ;
    26         delete [] out_READ_ACK    ;
    27         if (_param->_have_port_address)
    28         delete []  in_READ_ADDRESS;
    29         delete [] out_READ_DATA   ;
    30        
    31         // ----- Interface Write
    32         delete []  in_WRITE_VAL    ;
    33         delete [] out_WRITE_ACK    ;
    34         if (_param->_have_port_address)
    35         delete []  in_WRITE_ADDRESS;
    36         delete []  in_WRITE_DATA   ;
    37        
    38         // ----- Interface Read_Write
    39         delete []  in_READ_WRITE_VAL    ;
    40         delete [] out_READ_WRITE_ACK    ;
    41         delete []  in_READ_WRITE_RW     ;
    42         if (_param->_have_port_address)
    43         delete []  in_READ_WRITE_ADDRESS;
    44         delete []  in_READ_WRITE_WDATA  ;
    45         delete [] out_READ_WRITE_RDATA  ;
    46        
    47         // ----- Register
    48         delete [] reg_DATA;
     25
     26        DELETE1_SIGNAL( in_READ_VAL     ,_param->_nb_port_read,1);
     27        DELETE1_SIGNAL(out_READ_ACK     ,_param->_nb_port_read,1);
     28        DELETE1_SIGNAL( in_READ_ADDRESS ,_param->_nb_port_read,_param->_size_address);
     29        DELETE1_SIGNAL(out_READ_DATA    ,_param->_nb_port_read,_param->_size_word);
     30       
     31        DELETE1_SIGNAL( in_WRITE_VAL    ,_param->_nb_port_write,1);
     32        DELETE1_SIGNAL(out_WRITE_ACK    ,_param->_nb_port_write,1);
     33        DELETE1_SIGNAL( in_WRITE_ADDRESS,_param->_nb_port_write,_param->_size_address);
     34        DELETE1_SIGNAL( in_WRITE_DATA   ,_param->_nb_port_write,_param->_size_word);
     35       
     36        DELETE1_SIGNAL( in_READ_WRITE_VAL    ,_param->_nb_port_read_write,1);
     37        DELETE1_SIGNAL(out_READ_WRITE_ACK    ,_param->_nb_port_read_write,1);
     38        DELETE1_SIGNAL( in_READ_WRITE_RW     ,_param->_nb_port_read_write,1);
     39        DELETE1_SIGNAL( in_READ_WRITE_ADDRESS,_param->_nb_port_read_write,_param->_size_address);
     40        DELETE1_SIGNAL( in_READ_WRITE_WDATA  ,_param->_nb_port_read_write,_param->_size_word);
     41        DELETE1_SIGNAL(out_READ_WRITE_RDATA  ,_param->_nb_port_read_write,_param->_size_word);
     42       
     43        DELETE1(reg_DATA,_param->_nb_word);
    4944      }
    5045  };
Note: See TracChangeset for help on using the changeset viewer.