source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/SelfTest/src/top_deallocation.cpp @ 113

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

1) Add modelsim simulation systemC
2) Modelsim cosimulation systemC / VHDL is not finish !!!! (cf execute_queue and write_unit)
3) Add multi architecture
5) Add template for comparator, multiplier and divider
6) Change Message
Warning) Various test macro have change, many selftest can't compile

  • Property svn:keywords set to Id
File size: 581 bytes
Line 
1/*
2 * $Id: top_deallocation.cpp 113 2009-04-14 18:39:12Z rosiere $
3 *
4 * [ Description ]
5 *
6 * Test
7 */
8
9#include "Behavioural/Generic/Counter/SelfTest/include/top.h"
10#include "Behavioural/include/Allocation.h"
11
12void top::deallocation (void)
13{
14  cout << "<" << name << "> : Destruction of component" << endl;
15
16#ifdef SYSTEMC
17  delete             in_CLOCK;
18  DELETE0_SC_SIGNAL( in_NRESET);
19  DELETE1_SC_SIGNAL( in_COUNTER_DATA  ,param->_nb_port);
20  DELETE1_SC_SIGNAL( in_COUNTER_ADDSUB,param->_nb_port);
21  DELETE1_SC_SIGNAL(out_COUNTER_DATA  ,param->_nb_port);
22#endif
23
24  delete component;
25#ifdef STATISTICS
26  delete param_stat;
27#endif
28}
Note: See TracBrowser for help on using the repository browser.