source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/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: 767 bytes
Line 
1/*
2 * $Id: top_deallocation.cpp 113 2009-04-14 18:39:12Z rosiere $
3 *
4 * [ Description ]
5 *
6 * Test
7 */
8#include "Behavioural/Generic/Queue/SelfTest/include/top.h"
9#include "Behavioural/include/Allocation.h"
10
11void top::deallocation (void)
12{
13#ifdef SYSTEMC
14  delete             in_CLOCK;
15  DELETE0_SC_SIGNAL( in_NRESET);
16
17  DELETE0_SC_SIGNAL( in_INSERT_VAL );
18  DELETE0_SC_SIGNAL(out_INSERT_ACK );
19  DELETE0_SC_SIGNAL( in_INSERT_DATA);
20  DELETE0_SC_SIGNAL(out_RETIRE_VAL );
21  DELETE0_SC_SIGNAL( in_RETIRE_ACK );
22  DELETE0_SC_SIGNAL(out_RETIRE_DATA);
23  DELETE1_SC_SIGNAL(out_SLOT_VAL   ,_param->_nb_port_slot);
24  DELETE1_SC_SIGNAL(out_SLOT_DATA  ,_param->_nb_port_slot);
25  DELETE0_SC_SIGNAL(out_PTR_WRITE  );
26  DELETE0_SC_SIGNAL(out_PTR_READ   );
27#endif
28
29  delete component;
30#ifdef STATISTICS
31  delete _param_stat;
32#endif
33}
Note: See TracBrowser for help on using the repository browser.