1 | /* |
---|
2 | * $Id: Dependency_checking_unit_deallocation.cpp 121 2009-05-27 10:13:56Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/include/Dependency_checking_unit.h" |
---|
9 | #include "Behavioural/include/Allocation.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace core { |
---|
14 | namespace multi_ooo_engine { |
---|
15 | namespace ooo_engine { |
---|
16 | namespace rename_unit { |
---|
17 | namespace register_translation_unit { |
---|
18 | namespace dependency_checking_unit { |
---|
19 | |
---|
20 | |
---|
21 | #undef FUNCTION |
---|
22 | #define FUNCTION "Dependency_checking_unit::deallocation" |
---|
23 | void Dependency_checking_unit::deallocation (void) |
---|
24 | { |
---|
25 | log_printf(FUNC,Dependency_checking_unit,FUNCTION,"Begin"); |
---|
26 | |
---|
27 | if (usage_is_set(_usage,USE_SYSTEMC)) |
---|
28 | { |
---|
29 | delete in_CLOCK ; |
---|
30 | delete in_NRESET; |
---|
31 | |
---|
32 | // DELETE1_SIGNAL( in_RENAME_IN_VAL ,_param->_nb_inst_insert,1); |
---|
33 | // DELETE1_SIGNAL(out_RENAME_IN_ACK ,_param->_nb_inst_insert,1); |
---|
34 | DELETE1_SIGNAL( in_RENAME_IN_FRONT_END_ID ,_param->_nb_inst_insert,_param->_size_front_end_id ); |
---|
35 | DELETE1_SIGNAL( in_RENAME_IN_CONTEXT_ID ,_param->_nb_inst_insert,_param->_size_context_id ); |
---|
36 | DELETE1_SIGNAL( in_RENAME_IN_READ_RA ,_param->_nb_inst_insert,1 ); |
---|
37 | DELETE1_SIGNAL( in_RENAME_IN_NUM_REG_RA_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); |
---|
38 | DELETE1_SIGNAL( in_RENAME_IN_NUM_REG_RA_PHY ,_param->_nb_inst_insert,_param->_size_general_register ); |
---|
39 | DELETE1_SIGNAL( in_RENAME_IN_READ_RB ,_param->_nb_inst_insert,1 ); |
---|
40 | DELETE1_SIGNAL( in_RENAME_IN_NUM_REG_RB_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); |
---|
41 | DELETE1_SIGNAL( in_RENAME_IN_NUM_REG_RB_PHY ,_param->_nb_inst_insert,_param->_size_general_register ); |
---|
42 | DELETE1_SIGNAL( in_RENAME_IN_READ_RC ,_param->_nb_inst_insert,1 ); |
---|
43 | DELETE1_SIGNAL( in_RENAME_IN_NUM_REG_RC_LOG ,_param->_nb_inst_insert,_param->_size_special_register_logic); |
---|
44 | DELETE1_SIGNAL( in_RENAME_IN_NUM_REG_RC_PHY ,_param->_nb_inst_insert,_param->_size_special_register ); |
---|
45 | DELETE1_SIGNAL( in_RENAME_IN_WRITE_RD ,_param->_nb_inst_insert,1 ); |
---|
46 | DELETE1_SIGNAL( in_RENAME_IN_NUM_REG_RD_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); |
---|
47 | DELETE1_SIGNAL( in_RENAME_IN_NUM_REG_RD_PHY_OLD ,_param->_nb_inst_insert,_param->_size_general_register ); |
---|
48 | DELETE1_SIGNAL( in_RENAME_IN_NUM_REG_RD_PHY_NEW ,_param->_nb_inst_insert,_param->_size_general_register ); |
---|
49 | DELETE1_SIGNAL( in_RENAME_IN_WRITE_RE ,_param->_nb_inst_insert,1 ); |
---|
50 | DELETE1_SIGNAL( in_RENAME_IN_NUM_REG_RE_LOG ,_param->_nb_inst_insert,_param->_size_special_register_logic); |
---|
51 | DELETE1_SIGNAL( in_RENAME_IN_NUM_REG_RE_PHY_OLD ,_param->_nb_inst_insert,_param->_size_special_register ); |
---|
52 | DELETE1_SIGNAL( in_RENAME_IN_NUM_REG_RE_PHY_NEW ,_param->_nb_inst_insert,_param->_size_special_register ); |
---|
53 | |
---|
54 | // DELETE1_SIGNAL(out_RENAME_OUT_VAL ,_param->_nb_inst_insert,1); |
---|
55 | // DELETE1_SIGNAL( in_RENAME_OUT_ACK ,_param->_nb_inst_insert,1); |
---|
56 | DELETE1_SIGNAL(out_RENAME_OUT_FRONT_END_ID ,_param->_nb_inst_insert,_param->_size_front_end_id ); |
---|
57 | DELETE1_SIGNAL(out_RENAME_OUT_CONTEXT_ID ,_param->_nb_inst_insert,_param->_size_context_id ); |
---|
58 | DELETE1_SIGNAL(out_RENAME_OUT_READ_RA ,_param->_nb_inst_insert,1 ); |
---|
59 | #ifdef DEBUG |
---|
60 | DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RA_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); |
---|
61 | #endif |
---|
62 | DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RA_PHY ,_param->_nb_inst_insert,_param->_size_general_register ); |
---|
63 | DELETE1_SIGNAL(out_RENAME_OUT_READ_RB ,_param->_nb_inst_insert,1 ); |
---|
64 | #ifdef DEBUG |
---|
65 | DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RB_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); |
---|
66 | #endif |
---|
67 | DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RB_PHY ,_param->_nb_inst_insert,_param->_size_general_register ); |
---|
68 | DELETE1_SIGNAL(out_RENAME_OUT_READ_RC ,_param->_nb_inst_insert,1 ); |
---|
69 | #ifdef DEBUG |
---|
70 | DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RC_LOG ,_param->_nb_inst_insert,_param->_size_special_register_logic); |
---|
71 | #endif |
---|
72 | DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RC_PHY ,_param->_nb_inst_insert,_param->_size_special_register ); |
---|
73 | DELETE1_SIGNAL(out_RENAME_OUT_WRITE_RD ,_param->_nb_inst_insert,1 ); |
---|
74 | DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RD_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); |
---|
75 | DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RD_PHY_OLD,_param->_nb_inst_insert,_param->_size_general_register ); |
---|
76 | DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RD_PHY_NEW,_param->_nb_inst_insert,_param->_size_general_register ); |
---|
77 | DELETE1_SIGNAL(out_RENAME_OUT_WRITE_RE ,_param->_nb_inst_insert,1 ); |
---|
78 | DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RE_LOG ,_param->_nb_inst_insert,_param->_size_special_register_logic); |
---|
79 | DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RE_PHY_OLD,_param->_nb_inst_insert,_param->_size_special_register ); |
---|
80 | DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RE_PHY_NEW,_param->_nb_inst_insert,_param->_size_special_register ); |
---|
81 | } |
---|
82 | // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
83 | |
---|
84 | delete _component; |
---|
85 | |
---|
86 | log_printf(FUNC,Dependency_checking_unit,FUNCTION,"End"); |
---|
87 | }; |
---|
88 | |
---|
89 | }; // end namespace dependency_checking_unit |
---|
90 | }; // end namespace register_translation_unit |
---|
91 | }; // end namespace rename_unit |
---|
92 | }; // end namespace ooo_engine |
---|
93 | }; // end namespace multi_ooo_engine |
---|
94 | }; // end namespace core |
---|
95 | |
---|
96 | }; // end namespace behavioural |
---|
97 | }; // end namespace morpheo |
---|