source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Multiplier/src/Multiplier_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: 779 bytes
Line 
1/*
2 * $Id: Multiplier_deallocation.cpp 112 2009-03-18 22:36:26Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Generic/Multiplier/include/Multiplier.h"
9#include "Behavioural/include/Allocation.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace generic {
14namespace multiplier {
15
16
17#undef  FUNCTION
18#define FUNCTION "Multiplier::deallocation"
19  void Multiplier::deallocation (void)
20  {
21    log_begin(Multiplier,FUNCTION);
22
23    if (usage_is_set(_usage,USE_SYSTEMC))
24      {
25        delete    in_CLOCK ;
26        delete    in_NRESET;
27      }
28    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
29
30    delete _component;
31
32    log_end(Multiplier,FUNCTION);
33  };
34
35}; // end namespace multiplier
36}; // end namespace generic
37
38}; // end namespace behavioural
39}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.