source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_deallocation.cpp @ 146

Last change on this file since 146 was 146, checked in by rosiere, 13 years ago

1) Integration of RegisterFile_Internal_Banked in RegisterFile?
2) Erase "read_write" interface in RegisterFile_Monolithic component
3) Add smith predictor parameters in Load_store_pointer_unit.
4) Fix not statistics flags

  • Property svn:keywords set to Id
File size: 1.4 KB
RevLine 
[2]1/*
2 * $Id: RegisterFile_Monolithic_deallocation.cpp 146 2011-02-01 20:57:54Z rosiere $
3 *
[112]4 * [ Description ]
[2]5 *
6 */
7
[15]8#include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/RegisterFile_Monolithic.h"
[112]9#include "Behavioural/include/Allocation.h"
[2]10
11namespace morpheo                    {
12namespace behavioural                {
13namespace generic                    {
14namespace registerfile               {
[15]15namespace registerfile_monolithic    {
[2]16
[15]17  void RegisterFile_Monolithic::deallocation (void)
[2]18  {
[42]19    delete _component;
20
[88]21    if (usage_is_set(_usage,USE_SYSTEMC))
[57]22      {
23        delete    in_CLOCK;
24        delete    in_NRESET;
[112]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);
[146]35               
[112]36        DELETE1(reg_DATA,_param->_nb_word);
[57]37      }
[2]38  };
39
[15]40}; // end namespace registerfile_monolithic
[2]41}; // end namespace registerfile
42}; // end namespace generic
43}; // end namespace behavioural         
44}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.