Last change
on this file since 132 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
|
Rev | Line | |
---|
[113] | 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 | |
---|
| 12 | void 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.