source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Select_Priority_Fixed_deallocation.cpp @ 112

Last change on this file since 112 was 112, checked in by rosiere, 15 years ago

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

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1/*
2 * $Id: Select_Priority_Fixed_deallocation.cpp 112 2009-03-18 22:36:26Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Select_Priority_Fixed.h"
9#include "Behavioural/include/Allocation.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace generic {
14namespace select {
15namespace select_priority_fixed {
16
17
18  void Select_Priority_Fixed::deallocation (void)
19  {
20    log_printf(FUNC,Select_Priority_Fixed,"deallocation","Begin");
21
22    if (usage_is_set(_usage,USE_SYSTEMC))
23      {
24        delete     in_CLOCK;
25        delete     in_NRESET;
26       
27        DELETE1_SIGNAL( in_VAL       ,_param->_nb_entity,1);
28        if (_param->_encoding_one_hot)
29        DELETE1_SIGNAL(out_ACK       ,_param->_nb_entity,1);
30        if (_param->_encoding_compact)
31          {
32        DELETE0_SIGNAL(out_ENTITY    ,_param->_size_entity);
33        DELETE0_SIGNAL(out_ENTITY_ACK,1);
34          }
35      }
36
37    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
38   
39    delete _component;
40
41    log_printf(FUNC,Select_Priority_Fixed,"deallocation","End");
42  };
43
44}; // end namespace select_priority_fixed
45}; // end namespace select
46}; // end namespace generic
47
48}; // end namespace behavioural
49}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.