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

Last change on this file since 145 was 145, checked in by rosiere, 14 years ago

1) add test with SPECINT2K
2) new config of Selftest
3) modif RAT to support multiple depth_save ... but not finish (need fix Update Prediction Table)
4) add Function_pointer but need fix

  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1/*
2 * $Id: RegisterFile_Monolithic_deallocation.cpp 145 2010-10-13 18:15:51Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/RegisterFile_Monolithic.h"
9#include "Behavioural/include/Allocation.h"
10#include "Behavioural/include/Component.h"
11
12namespace morpheo                    {
13namespace behavioural                {
14namespace generic                    {
15namespace registerfile               {
16namespace registerfile_monolithic    {
17
18  void RegisterFile_Monolithic::deallocation (void)
19  {
20    delete _component;
21
22    if (usage_is_set(_usage,USE_SYSTEMC))
23      {
24        delete    in_CLOCK;
25        delete    in_NRESET;
26
27        DELETE1_SIGNAL( in_READ_VAL     ,_param->_nb_port_read,1);
28        DELETE1_SIGNAL(out_READ_ACK     ,_param->_nb_port_read,1);
29        DELETE1_SIGNAL( in_READ_ADDRESS ,_param->_nb_port_read,_param->_size_address);
30        DELETE1_SIGNAL(out_READ_DATA    ,_param->_nb_port_read,_param->_size_word);
31       
32        DELETE1_SIGNAL( in_WRITE_VAL    ,_param->_nb_port_write,1);
33        DELETE1_SIGNAL(out_WRITE_ACK    ,_param->_nb_port_write,1);
34        DELETE1_SIGNAL( in_WRITE_ADDRESS,_param->_nb_port_write,_param->_size_address);
35        DELETE1_SIGNAL( in_WRITE_DATA   ,_param->_nb_port_write,_param->_size_word);
36       
37        DELETE1_SIGNAL( in_READ_WRITE_VAL    ,_param->_nb_port_read_write,1);
38        DELETE1_SIGNAL(out_READ_WRITE_ACK    ,_param->_nb_port_read_write,1);
39        DELETE1_SIGNAL( in_READ_WRITE_RW     ,_param->_nb_port_read_write,1);
40        DELETE1_SIGNAL( in_READ_WRITE_ADDRESS,_param->_nb_port_read_write,_param->_size_address);
41        DELETE1_SIGNAL( in_READ_WRITE_WDATA  ,_param->_nb_port_read_write,_param->_size_word);
42        DELETE1_SIGNAL(out_READ_WRITE_RDATA  ,_param->_nb_port_read_write,_param->_size_word);
43       
44        DELETE1(reg_DATA,_param->_nb_word);
45      }
46  };
47
48}; // end namespace registerfile_monolithic
49}; // end namespace registerfile
50}; // end namespace generic
51}; // end namespace behavioural         
52}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.