[88] | 1 | /* |
---|
| 2 | * $Id: test.cpp 110 2009-02-19 16:31:47Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | * Test |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/SelfTest/include/test.h" |
---|
| 10 | #include "Behavioural/include/Allocation.h" |
---|
| 11 | |
---|
| 12 | void test (string name, |
---|
| 13 | morpheo::behavioural::core::multi_ooo_engine::ooo_engine::ooo_engine_glue::Parameters * _param) |
---|
| 14 | { |
---|
| 15 | msg(_("<%s> : Simulation SystemC.\n"),name.c_str()); |
---|
| 16 | |
---|
| 17 | #ifdef STATISTICS |
---|
| 18 | morpheo::behavioural::Parameters_Statistics * _parameters_statistics = new morpheo::behavioural::Parameters_Statistics (5,CYCLE_MAX); |
---|
| 19 | #endif |
---|
| 20 | |
---|
| 21 | Tusage_t _usage = USE_ALL; |
---|
| 22 | |
---|
| 23 | // _usage = usage_unset(_usage,USE_SYSTEMC ); |
---|
| 24 | // _usage = usage_unset(_usage,USE_VHDL ); |
---|
| 25 | // _usage = usage_unset(_usage,USE_VHDL_TESTBENCH ); |
---|
| 26 | // _usage = usage_unset(_usage,USE_VHDL_TESTBENCH_ASSERT); |
---|
| 27 | // _usage = usage_unset(_usage,USE_POSITION ); |
---|
[110] | 28 | // _usage = usage_unset(_usage,USE_STATISTICS ); |
---|
[88] | 29 | // _usage = usage_unset(_usage,USE_INFORMATION ); |
---|
| 30 | |
---|
| 31 | OOO_Engine_Glue * _OOO_Engine_Glue = new OOO_Engine_Glue |
---|
| 32 | (name.c_str(), |
---|
| 33 | #ifdef STATISTICS |
---|
| 34 | _parameters_statistics, |
---|
| 35 | #endif |
---|
| 36 | _param, |
---|
| 37 | _usage); |
---|
| 38 | |
---|
| 39 | #ifdef SYSTEMC |
---|
| 40 | if (usage_is_set(_usage,USE_SYSTEMC)) |
---|
| 41 | { |
---|
| 42 | /********************************************************************* |
---|
| 43 | * Déclarations des signaux |
---|
| 44 | *********************************************************************/ |
---|
| 45 | string rename; |
---|
| 46 | |
---|
| 47 | sc_clock * in_CLOCK = new sc_clock ("clock", 1.0, 0.5); |
---|
| 48 | sc_signal<Tcontrol_t> * in_NRESET = new sc_signal<Tcontrol_t> ("NRESET"); |
---|
| 49 | |
---|
| 50 | ALLOC2_SC_SIGNAL( in_RENAME_FRONT_END_ID ," in_RENAME_FRONT_END_ID ",Tcontext_t ,_param->_nb_front_end,_param->_nb_inst_decod[it1]); |
---|
| 51 | ALLOC2_SC_SIGNAL(out_RENAME_RENAME_UNIT_FRONT_END_ID ,"out_RENAME_RENAME_UNIT_FRONT_END_ID ",Tcontext_t ,_param->_nb_front_end,_param->_nb_inst_decod[it1]); |
---|
| 52 | |
---|
| 53 | ALLOC1_SC_SIGNAL(out_INSERT_VAL ,"out_INSERT_VAL ",Tcontrol_t ,_param->_sum_inst_insert); |
---|
| 54 | ALLOC1_SC_SIGNAL( in_INSERT_ACK ," in_INSERT_ACK ",Tcontrol_t ,_param->_sum_inst_insert); |
---|
| 55 | ALLOC1_SC_SIGNAL(out_INSERT_RD_USE ,"out_INSERT_RD_USE ",Tcontrol_t ,_param->_sum_inst_insert); |
---|
| 56 | ALLOC1_SC_SIGNAL(out_INSERT_RD_NUM_REG ,"out_INSERT_RD_NUM_REG ",Tgeneral_address_t ,_param->_sum_inst_insert); |
---|
| 57 | ALLOC1_SC_SIGNAL(out_INSERT_RE_USE ,"out_INSERT_RE_USE ",Tcontrol_t ,_param->_sum_inst_insert); |
---|
| 58 | ALLOC1_SC_SIGNAL(out_INSERT_RE_NUM_REG ,"out_INSERT_RE_NUM_REG ",Tspecial_address_t ,_param->_sum_inst_insert); |
---|
| 59 | |
---|
| 60 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_VAL ," in_INSERT_RENAME_UNIT_VAL ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 61 | ALLOC2_SC_SIGNAL(out_INSERT_RENAME_UNIT_ACK ,"out_INSERT_RENAME_UNIT_ACK ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 62 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_FRONT_END_ID ," in_INSERT_RENAME_UNIT_FRONT_END_ID ",Tcontext_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 63 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_CONTEXT_ID ," in_INSERT_RENAME_UNIT_CONTEXT_ID ",Tcontext_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 64 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_TYPE ," in_INSERT_RENAME_UNIT_TYPE ",Ttype_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 65 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_OPERATION ," in_INSERT_RENAME_UNIT_OPERATION ",Toperation_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 66 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NO_EXECUTE ," in_INSERT_RENAME_UNIT_NO_EXECUTE ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 67 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_HAS_IMMEDIAT ," in_INSERT_RENAME_UNIT_HAS_IMMEDIAT ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 68 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_IMMEDIAT ," in_INSERT_RENAME_UNIT_IMMEDIAT ",Tgeneral_data_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 69 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_STORE_QUEUE_PTR_WRITE," in_INSERT_RENAME_UNIT_STORE_QUEUE_PTR_WRITE",Tlsq_ptr_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 70 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_LOAD_QUEUE_PTR_WRITE ," in_INSERT_RENAME_UNIT_LOAD_QUEUE_PTR_WRITE ",Tlsq_ptr_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 71 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_READ_RA ," in_INSERT_RENAME_UNIT_READ_RA ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 72 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RA_PHY ," in_INSERT_RENAME_UNIT_NUM_REG_RA_PHY ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 73 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_READ_RB ," in_INSERT_RENAME_UNIT_READ_RB ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 74 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RB_PHY ," in_INSERT_RENAME_UNIT_NUM_REG_RB_PHY ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 75 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_READ_RC ," in_INSERT_RENAME_UNIT_READ_RC ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 76 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RC_PHY ," in_INSERT_RENAME_UNIT_NUM_REG_RC_PHY ",Tspecial_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 77 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_WRITE_RD ," in_INSERT_RENAME_UNIT_WRITE_RD ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 78 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RD_PHY_OLD ," in_INSERT_RENAME_UNIT_NUM_REG_RD_PHY_OLD ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 79 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RD_PHY_NEW ," in_INSERT_RENAME_UNIT_NUM_REG_RD_PHY_NEW ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 80 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_WRITE_RE ," in_INSERT_RENAME_UNIT_WRITE_RE ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 81 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RE_PHY_OLD ," in_INSERT_RENAME_UNIT_NUM_REG_RE_PHY_OLD ",Tspecial_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 82 | ALLOC2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RE_PHY_NEW ," in_INSERT_RENAME_UNIT_NUM_REG_RE_PHY_NEW ",Tspecial_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 83 | |
---|
| 84 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_VAL ,"out_INSERT_COMMIT_UNIT_VAL ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 85 | ALLOC2_SC_SIGNAL( in_INSERT_COMMIT_UNIT_ACK ," in_INSERT_COMMIT_UNIT_ACK ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 86 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_FRONT_END_ID ,"out_INSERT_COMMIT_UNIT_FRONT_END_ID ",Tcontext_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 87 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_CONTEXT_ID ,"out_INSERT_COMMIT_UNIT_CONTEXT_ID ",Tcontext_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 88 | //ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_RENAME_UNIT_ID ,"out_INSERT_COMMIT_UNIT_RENAME_UNIT_ID ",Tcontext_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 89 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_TYPE ,"out_INSERT_COMMIT_UNIT_TYPE ",Ttype_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 90 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_OPERATION ,"out_INSERT_COMMIT_UNIT_OPERATION ",Toperation_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 91 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NO_EXECUTE ,"out_INSERT_COMMIT_UNIT_NO_EXECUTE ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 92 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_STORE_QUEUE_PTR_WRITE,"out_INSERT_COMMIT_UNIT_STORE_QUEUE_PTR_WRITE",Tlsq_ptr_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 93 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_LOAD_QUEUE_PTR_WRITE ,"out_INSERT_COMMIT_UNIT_LOAD_QUEUE_PTR_WRITE ",Tlsq_ptr_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 94 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_READ_RA ,"out_INSERT_COMMIT_UNIT_READ_RA ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 95 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RA_PHY ,"out_INSERT_COMMIT_UNIT_NUM_REG_RA_PHY ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 96 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_READ_RB ,"out_INSERT_COMMIT_UNIT_READ_RB ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 97 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RB_PHY ,"out_INSERT_COMMIT_UNIT_NUM_REG_RB_PHY ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 98 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_READ_RC ,"out_INSERT_COMMIT_UNIT_READ_RC ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 99 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RC_PHY ,"out_INSERT_COMMIT_UNIT_NUM_REG_RC_PHY ",Tspecial_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 100 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_WRITE_RD ,"out_INSERT_COMMIT_UNIT_WRITE_RD ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 101 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RD_PHY_OLD ,"out_INSERT_COMMIT_UNIT_NUM_REG_RD_PHY_OLD ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 102 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RD_PHY_NEW ,"out_INSERT_COMMIT_UNIT_NUM_REG_RD_PHY_NEW ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 103 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_WRITE_RE ,"out_INSERT_COMMIT_UNIT_WRITE_RE ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 104 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RE_PHY_OLD ,"out_INSERT_COMMIT_UNIT_NUM_REG_RE_PHY_OLD ",Tspecial_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 105 | ALLOC2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RE_PHY_NEW ,"out_INSERT_COMMIT_UNIT_NUM_REG_RE_PHY_NEW ",Tspecial_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 106 | |
---|
| 107 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_VAL ,"out_INSERT_ISSUE_QUEUE_VAL ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 108 | ALLOC2_SC_SIGNAL( in_INSERT_ISSUE_QUEUE_ACK ," in_INSERT_ISSUE_QUEUE_ACK ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 109 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_CONTEXT_ID ,"out_INSERT_ISSUE_QUEUE_CONTEXT_ID ",Tcontext_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 110 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_FRONT_END_ID ,"out_INSERT_ISSUE_QUEUE_FRONT_END_ID ",Tcontext_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 111 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_OPERATION ,"out_INSERT_ISSUE_QUEUE_OPERATION ",Toperation_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 112 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_TYPE ,"out_INSERT_ISSUE_QUEUE_TYPE ",Ttype_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 113 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_STORE_QUEUE_PTR_WRITE,"out_INSERT_ISSUE_QUEUE_STORE_QUEUE_PTR_WRITE",Tlsq_ptr_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 114 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_LOAD_QUEUE_PTR_WRITE ,"out_INSERT_ISSUE_QUEUE_LOAD_QUEUE_PTR_WRITE ",Tlsq_ptr_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 115 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_HAS_IMMEDIAT ,"out_INSERT_ISSUE_QUEUE_HAS_IMMEDIAT ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 116 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_IMMEDIAT ,"out_INSERT_ISSUE_QUEUE_IMMEDIAT ",Tgeneral_data_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 117 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_READ_RA ,"out_INSERT_ISSUE_QUEUE_READ_RA ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 118 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_NUM_REG_RA ,"out_INSERT_ISSUE_QUEUE_NUM_REG_RA ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 119 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_READ_RB ,"out_INSERT_ISSUE_QUEUE_READ_RB ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 120 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_NUM_REG_RB ,"out_INSERT_ISSUE_QUEUE_NUM_REG_RB ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 121 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_READ_RC ,"out_INSERT_ISSUE_QUEUE_READ_RC ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 122 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_NUM_REG_RC ,"out_INSERT_ISSUE_QUEUE_NUM_REG_RC ",Tspecial_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 123 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_WRITE_RD ,"out_INSERT_ISSUE_QUEUE_WRITE_RD ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 124 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_NUM_REG_RD ,"out_INSERT_ISSUE_QUEUE_NUM_REG_RD ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 125 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_WRITE_RE ,"out_INSERT_ISSUE_QUEUE_WRITE_RE ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 126 | ALLOC2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_NUM_REG_RE ,"out_INSERT_ISSUE_QUEUE_NUM_REG_RE ",Tspecial_address_t ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 127 | |
---|
| 128 | // ALLOC1_SC_SIGNAL(out_RETIRE_VAL ,"out_RETIRE_VAL ",Tcontrol_t ,_param->_sum_inst_retire); |
---|
| 129 | // ALLOC1_SC_SIGNAL( in_RETIRE_ACK ," in_RETIRE_ACK ",Tcontrol_t ,_param->_sum_inst_retire); |
---|
| 130 | // ALLOC1_SC_SIGNAL(out_RETIRE_RD_OLD_USE ,"out_RETIRE_RD_OLD_USE ",Tcontrol_t ,_param->_sum_inst_retire); |
---|
| 131 | // ALLOC1_SC_SIGNAL(out_RETIRE_RD_OLD_NUM_REG ,"out_RETIRE_RD_OLD_NUM_REG ",Tgeneral_address_t ,_param->_sum_inst_retire); |
---|
| 132 | // ALLOC1_SC_SIGNAL(out_RETIRE_RD_NEW_USE ,"out_RETIRE_RD_NEW_USE ",Tcontrol_t ,_param->_sum_inst_retire); |
---|
| 133 | // ALLOC1_SC_SIGNAL(out_RETIRE_RD_NEW_NUM_REG ,"out_RETIRE_RD_NEW_NUM_REG ",Tgeneral_address_t ,_param->_sum_inst_retire); |
---|
| 134 | // ALLOC1_SC_SIGNAL(out_RETIRE_RE_OLD_USE ,"out_RETIRE_RE_OLD_USE ",Tcontrol_t ,_param->_sum_inst_retire); |
---|
| 135 | // ALLOC1_SC_SIGNAL(out_RETIRE_RE_OLD_NUM_REG ,"out_RETIRE_RE_OLD_NUM_REG ",Tspecial_address_t ,_param->_sum_inst_retire); |
---|
| 136 | // ALLOC1_SC_SIGNAL(out_RETIRE_RE_NEW_USE ,"out_RETIRE_RE_NEW_USE ",Tcontrol_t ,_param->_sum_inst_retire); |
---|
| 137 | // ALLOC1_SC_SIGNAL(out_RETIRE_RE_NEW_NUM_REG ,"out_RETIRE_RE_NEW_NUM_REG ",Tspecial_address_t ,_param->_sum_inst_retire); |
---|
| 138 | |
---|
| 139 | // ALLOC2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_VAL ,"out_RETIRE_RENAME_UNIT_VAL ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 140 | // ALLOC2_SC_SIGNAL( in_RETIRE_RENAME_UNIT_ACK ," in_RETIRE_RENAME_UNIT_ACK ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 141 | // ALLOC2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_FRONT_END_ID ,"out_RETIRE_RENAME_UNIT_FRONT_END_ID ",Tcontext_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 142 | // ALLOC2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_WRITE_RD ,"out_RETIRE_RENAME_UNIT_WRITE_RD ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 143 | // ALLOC2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_NUM_REG_RD_PHY_OLD ,"out_RETIRE_RENAME_UNIT_NUM_REG_RD_PHY_OLD ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 144 | // ALLOC2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_NUM_REG_RD_PHY_NEW ,"out_RETIRE_RENAME_UNIT_NUM_REG_RD_PHY_NEW ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 145 | // ALLOC2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_WRITE_RE ,"out_RETIRE_RENAME_UNIT_WRITE_RE ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 146 | // ALLOC2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_NUM_REG_RE_PHY_OLD ,"out_RETIRE_RENAME_UNIT_NUM_REG_RE_PHY_OLD ",Tspecial_address_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 147 | // ALLOC2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_NUM_REG_RE_PHY_NEW ,"out_RETIRE_RENAME_UNIT_NUM_REG_RE_PHY_NEW ",Tspecial_address_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 148 | // ALLOC2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_EVENT_STATE ,"out_RETIRE_RENAME_UNIT_EVENT_STATE ",Tevent_state_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 149 | |
---|
| 150 | // ALLOC2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_VAL ," in_RETIRE_COMMIT_UNIT_VAL ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 151 | // ALLOC2_SC_SIGNAL(out_RETIRE_COMMIT_UNIT_ACK ,"out_RETIRE_COMMIT_UNIT_ACK ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 152 | // ALLOC2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_FRONT_END_ID ," in_RETIRE_COMMIT_UNIT_FRONT_END_ID ",Tcontext_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 153 | // ALLOC2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_WRITE_RD ," in_RETIRE_COMMIT_UNIT_WRITE_RD ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 154 | // ALLOC2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_NUM_REG_RD_PHY_OLD ," in_RETIRE_COMMIT_UNIT_NUM_REG_RD_PHY_OLD ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 155 | // ALLOC2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_NUM_REG_RD_PHY_NEW ," in_RETIRE_COMMIT_UNIT_NUM_REG_RD_PHY_NEW ",Tgeneral_address_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 156 | // ALLOC2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_WRITE_RE ," in_RETIRE_COMMIT_UNIT_WRITE_RE ",Tcontrol_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 157 | // ALLOC2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_NUM_REG_RE_PHY_OLD ," in_RETIRE_COMMIT_UNIT_NUM_REG_RE_PHY_OLD ",Tspecial_address_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 158 | // ALLOC2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_NUM_REG_RE_PHY_NEW ," in_RETIRE_COMMIT_UNIT_NUM_REG_RE_PHY_NEW ",Tspecial_address_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 159 | // ALLOC2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_EVENT_STATE ," in_RETIRE_COMMIT_UNIT_EVENT_STATE ",Tevent_state_t ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 160 | |
---|
| 161 | ALLOC2_SC_SIGNAL(out_SPR_SR_IEE ,"out_SPR_SR_IEE ",Tcontrol_t ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 162 | ALLOC2_SC_SIGNAL(out_SPR_SR_EPH ,"out_SPR_SR_EPH ",Tcontrol_t ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 163 | ALLOC2_SC_SIGNAL(out_SPR_RENAME_UNIT_SR ,"out_SPR_RENAME_UNIT_SR ",Tspr_t ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 164 | ALLOC2_SC_SIGNAL(out_SPR_COMMIT_UNIT_SR_OVE ,"out_SPR_COMMIT_UNIT_SR_OVE ",Tcontrol_t ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 165 | ALLOC2_SC_SIGNAL( in_SPR_SPECIAL_REGISTER_UNIT_SR ," in_SPR_SPECIAL_REGISTER_UNIT_SR ",Tspr_t ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 166 | |
---|
| 167 | |
---|
| 168 | /******************************************************** |
---|
| 169 | * Instanciation |
---|
| 170 | ********************************************************/ |
---|
| 171 | |
---|
| 172 | msg(_("<%s> : Instanciation of _OOO_Engine_Glue.\n"),name.c_str()); |
---|
| 173 | |
---|
| 174 | (*(_OOO_Engine_Glue->in_CLOCK)) (*(in_CLOCK)); |
---|
| 175 | (*(_OOO_Engine_Glue->in_NRESET)) (*(in_NRESET)); |
---|
| 176 | |
---|
| 177 | if (_param->_have_port_front_end_id) |
---|
| 178 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_RENAME_FRONT_END_ID ,_param->_nb_front_end,_param->_nb_inst_decod[it1]); |
---|
| 179 | if (_param->_have_port_front_end_id) |
---|
| 180 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_RENAME_RENAME_UNIT_FRONT_END_ID ,_param->_nb_front_end,_param->_nb_inst_decod[it1]); |
---|
| 181 | |
---|
| 182 | INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_VAL ,_param->_sum_inst_insert); |
---|
| 183 | INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_ACK ,_param->_sum_inst_insert); |
---|
| 184 | INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_RD_USE ,_param->_sum_inst_insert); |
---|
| 185 | INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_RD_NUM_REG ,_param->_sum_inst_insert); |
---|
| 186 | INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_RE_USE ,_param->_sum_inst_insert); |
---|
| 187 | INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_RE_NUM_REG ,_param->_sum_inst_insert); |
---|
| 188 | |
---|
| 189 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_VAL ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 190 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_RENAME_UNIT_ACK ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 191 | if (_param->_have_port_front_end_id) |
---|
| 192 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_FRONT_END_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 193 | if (_param->_have_port_context_id) |
---|
| 194 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_CONTEXT_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 195 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_TYPE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 196 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_OPERATION ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 197 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_NO_EXECUTE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 198 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_HAS_IMMEDIAT ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 199 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_IMMEDIAT ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 200 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_STORE_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 201 | if (_param->_have_port_load_queue_ptr) |
---|
| 202 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_LOAD_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 203 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 204 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_NUM_REG_RA_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 205 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_READ_RB ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 206 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_NUM_REG_RB_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 207 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 208 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 209 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 210 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_NUM_REG_RD_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 211 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_NUM_REG_RD_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 212 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_WRITE_RE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 213 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_NUM_REG_RE_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 214 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_RENAME_UNIT_NUM_REG_RE_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 215 | |
---|
| 216 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_VAL ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 217 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_COMMIT_UNIT_ACK ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 218 | if (_param->_have_port_front_end_id) |
---|
| 219 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_FRONT_END_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 220 | if (_param->_have_port_context_id) |
---|
| 221 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_CONTEXT_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 222 | //INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_RENAME_UNIT_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 223 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_TYPE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 224 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_OPERATION ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 225 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_NO_EXECUTE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 226 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_STORE_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 227 | if (_param->_have_port_load_queue_ptr) |
---|
| 228 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_LOAD_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 229 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 230 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_NUM_REG_RA_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 231 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_READ_RB ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 232 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_NUM_REG_RB_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 233 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 234 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 235 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 236 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_NUM_REG_RD_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 237 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_NUM_REG_RD_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 238 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_WRITE_RE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 239 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_NUM_REG_RE_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 240 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_COMMIT_UNIT_NUM_REG_RE_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 241 | |
---|
| 242 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_VAL ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 243 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_INSERT_ISSUE_QUEUE_ACK ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 244 | if (_param->_have_port_front_end_id) |
---|
| 245 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_FRONT_END_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 246 | if (_param->_have_port_context_id) |
---|
| 247 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_CONTEXT_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 248 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_OPERATION ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 249 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_TYPE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 250 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_STORE_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 251 | if (_param->_have_port_load_queue_ptr) |
---|
| 252 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_LOAD_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 253 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_HAS_IMMEDIAT ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 254 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_IMMEDIAT ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 255 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 256 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_NUM_REG_RA ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 257 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_READ_RB ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 258 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_NUM_REG_RB ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 259 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 260 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_NUM_REG_RC ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 261 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 262 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_NUM_REG_RD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 263 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_WRITE_RE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 264 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_INSERT_ISSUE_QUEUE_NUM_REG_RE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 265 | |
---|
| 266 | // INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_VAL ,_param->_sum_inst_retire); |
---|
| 267 | // INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue, in_RETIRE_ACK ,_param->_sum_inst_retire); |
---|
| 268 | // INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RD_OLD_USE ,_param->_sum_inst_retire); |
---|
| 269 | // INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RD_OLD_NUM_REG ,_param->_sum_inst_retire); |
---|
| 270 | // INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RD_NEW_USE ,_param->_sum_inst_retire); |
---|
| 271 | // INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RD_NEW_NUM_REG ,_param->_sum_inst_retire); |
---|
| 272 | // INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RE_OLD_USE ,_param->_sum_inst_retire); |
---|
| 273 | // INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RE_OLD_NUM_REG ,_param->_sum_inst_retire); |
---|
| 274 | // INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RE_NEW_USE ,_param->_sum_inst_retire); |
---|
| 275 | // INSTANCE1_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RE_NEW_NUM_REG ,_param->_sum_inst_retire); |
---|
| 276 | |
---|
| 277 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RENAME_UNIT_VAL ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 278 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_RETIRE_RENAME_UNIT_ACK ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 279 | // if (_param->_have_port_front_end_id) |
---|
| 280 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RENAME_UNIT_FRONT_END_ID ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 281 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RENAME_UNIT_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 282 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RENAME_UNIT_NUM_REG_RD_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 283 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RENAME_UNIT_NUM_REG_RD_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 284 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RENAME_UNIT_WRITE_RE ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 285 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RENAME_UNIT_NUM_REG_RE_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 286 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RENAME_UNIT_NUM_REG_RE_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 287 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_RENAME_UNIT_EVENT_STATE ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 288 | |
---|
| 289 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_RETIRE_COMMIT_UNIT_VAL ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 290 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_RETIRE_COMMIT_UNIT_ACK ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 291 | // if (_param->_have_port_front_end_id) |
---|
| 292 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_RETIRE_COMMIT_UNIT_FRONT_END_ID ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 293 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_RETIRE_COMMIT_UNIT_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 294 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_RETIRE_COMMIT_UNIT_NUM_REG_RD_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 295 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_RETIRE_COMMIT_UNIT_NUM_REG_RD_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 296 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_RETIRE_COMMIT_UNIT_WRITE_RE ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 297 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_RETIRE_COMMIT_UNIT_NUM_REG_RE_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 298 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_RETIRE_COMMIT_UNIT_NUM_REG_RE_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 299 | // INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_RETIRE_COMMIT_UNIT_EVENT_STATE ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 300 | |
---|
| 301 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_SPR_SR_IEE ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 302 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_SPR_SR_EPH ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 303 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_SPR_RENAME_UNIT_SR ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 304 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue,out_SPR_COMMIT_UNIT_SR_OVE ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 305 | INSTANCE2_SC_SIGNAL(_OOO_Engine_Glue, in_SPR_SPECIAL_REGISTER_UNIT_SR ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 306 | |
---|
| 307 | msg(_("<%s> : Start Simulation ............\n"),name.c_str()); |
---|
| 308 | |
---|
| 309 | Time * _time = new Time(); |
---|
| 310 | |
---|
| 311 | /******************************************************** |
---|
| 312 | * Simulation - Begin |
---|
| 313 | ********************************************************/ |
---|
| 314 | |
---|
| 315 | // Initialisation |
---|
| 316 | |
---|
| 317 | const uint32_t seed = 0; |
---|
| 318 | //const uint32_t seed = static_cast<uint32_t>(time(NULL)); |
---|
| 319 | |
---|
| 320 | srand(seed); |
---|
| 321 | |
---|
| 322 | SC_START(0); |
---|
| 323 | LABEL("Initialisation"); |
---|
| 324 | |
---|
| 325 | LABEL("Reset"); |
---|
| 326 | in_NRESET->write(0); |
---|
| 327 | SC_START(5); |
---|
| 328 | in_NRESET->write(1); |
---|
| 329 | |
---|
| 330 | LABEL("Loop of Test"); |
---|
| 331 | |
---|
| 332 | for (uint32_t iteration=0; iteration<NB_ITERATION; iteration ++) |
---|
| 333 | { |
---|
| 334 | LABEL("Iteration %d",iteration); |
---|
| 335 | |
---|
| 336 | // // ~~~~~[ Interface "retire" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 337 | // for (uint32_t i=0; i<_param->_nb_rename_unit; ++i) |
---|
| 338 | // for (uint32_t j=0; j<_param->_nb_inst_retire[i]; ++j) |
---|
| 339 | // { |
---|
| 340 | |
---|
| 341 | // } |
---|
| 342 | |
---|
| 343 | // ~~~~~[ Interface : "spr" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 344 | for (uint32_t i=0; i<_param->_nb_front_end; ++i) |
---|
| 345 | for (uint32_t j=0; j<_param->_nb_context[i]; ++j) |
---|
| 346 | { |
---|
| 347 | in_SPR_SPECIAL_REGISTER_UNIT_SR [i][j]->write(rand()); |
---|
| 348 | } |
---|
| 349 | |
---|
| 350 | SC_START(0); |
---|
| 351 | |
---|
| 352 | // ~~~~~[ Interface : "spr" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 353 | for (uint32_t i=0; i<_param->_nb_front_end; ++i) |
---|
| 354 | for (uint32_t j=0; j<_param->_nb_context[i]; ++j) |
---|
| 355 | { |
---|
| 356 | Tspr_t sr = in_SPR_SPECIAL_REGISTER_UNIT_SR [i][j]->read(); |
---|
| 357 | |
---|
| 358 | TEST(Tspr_t ,out_SPR_RENAME_UNIT_SR [i][j]->read(),((sr|(1<<15))&0xf001ffff)); // with FO, and without reserved |
---|
| 359 | TEST(Tcontrol_t,out_SPR_SR_IEE [i][j]->read(),(sr>> 2)&1); |
---|
| 360 | TEST(Tcontrol_t,out_SPR_SR_EPH [i][j]->read(),(sr>>14)&1); |
---|
| 361 | TEST(Tcontrol_t,out_SPR_COMMIT_UNIT_SR_OVE [i][j]->read(),(sr>>12)&1); |
---|
| 362 | } |
---|
| 363 | |
---|
| 364 | SC_START(1); |
---|
| 365 | } |
---|
| 366 | |
---|
| 367 | /******************************************************** |
---|
| 368 | * Simulation - End |
---|
| 369 | ********************************************************/ |
---|
| 370 | |
---|
| 371 | TEST_OK ("End of Simulation"); |
---|
| 372 | delete _time; |
---|
| 373 | |
---|
| 374 | msg(_("<%s> : ............ Stop Simulation\n"),name.c_str()); |
---|
| 375 | |
---|
| 376 | delete in_CLOCK; |
---|
| 377 | delete in_NRESET; |
---|
| 378 | |
---|
| 379 | DELETE2_SC_SIGNAL( in_RENAME_FRONT_END_ID ,_param->_nb_front_end,_param->_nb_inst_decod[it1]); |
---|
| 380 | DELETE2_SC_SIGNAL(out_RENAME_RENAME_UNIT_FRONT_END_ID ,_param->_nb_front_end,_param->_nb_inst_decod[it1]); |
---|
| 381 | |
---|
| 382 | DELETE1_SC_SIGNAL(out_INSERT_VAL ,_param->_sum_inst_insert); |
---|
| 383 | DELETE1_SC_SIGNAL( in_INSERT_ACK ,_param->_sum_inst_insert); |
---|
| 384 | DELETE1_SC_SIGNAL(out_INSERT_RD_USE ,_param->_sum_inst_insert); |
---|
| 385 | DELETE1_SC_SIGNAL(out_INSERT_RD_NUM_REG ,_param->_sum_inst_insert); |
---|
| 386 | DELETE1_SC_SIGNAL(out_INSERT_RE_USE ,_param->_sum_inst_insert); |
---|
| 387 | DELETE1_SC_SIGNAL(out_INSERT_RE_NUM_REG ,_param->_sum_inst_insert); |
---|
| 388 | |
---|
| 389 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_VAL ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 390 | DELETE2_SC_SIGNAL(out_INSERT_RENAME_UNIT_ACK ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 391 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_FRONT_END_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 392 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_CONTEXT_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 393 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_TYPE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 394 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_OPERATION ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 395 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NO_EXECUTE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 396 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_HAS_IMMEDIAT ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 397 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_IMMEDIAT ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 398 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_STORE_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 399 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_LOAD_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 400 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 401 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RA_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 402 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_READ_RB ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 403 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RB_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 404 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 405 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 406 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 407 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RD_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 408 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RD_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 409 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_WRITE_RE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 410 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RE_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 411 | DELETE2_SC_SIGNAL( in_INSERT_RENAME_UNIT_NUM_REG_RE_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 412 | |
---|
| 413 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_VAL ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 414 | DELETE2_SC_SIGNAL( in_INSERT_COMMIT_UNIT_ACK ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 415 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_FRONT_END_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 416 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_CONTEXT_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 417 | //DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_RENAME_UNIT_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 418 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_TYPE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 419 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_OPERATION ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 420 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NO_EXECUTE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 421 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_STORE_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 422 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_LOAD_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 423 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 424 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RA_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 425 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_READ_RB ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 426 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RB_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 427 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 428 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RC_PHY ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 429 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 430 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RD_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 431 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RD_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 432 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_WRITE_RE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 433 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RE_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 434 | DELETE2_SC_SIGNAL(out_INSERT_COMMIT_UNIT_NUM_REG_RE_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 435 | |
---|
| 436 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_VAL ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 437 | DELETE2_SC_SIGNAL( in_INSERT_ISSUE_QUEUE_ACK ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 438 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_FRONT_END_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 439 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_CONTEXT_ID ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 440 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_OPERATION ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 441 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_TYPE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 442 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_STORE_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 443 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_LOAD_QUEUE_PTR_WRITE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 444 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_HAS_IMMEDIAT ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 445 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_IMMEDIAT ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 446 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_READ_RA ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 447 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_NUM_REG_RA ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 448 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_READ_RB ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 449 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_NUM_REG_RB ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 450 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_READ_RC ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 451 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_NUM_REG_RC ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 452 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 453 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_NUM_REG_RD ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 454 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_WRITE_RE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 455 | DELETE2_SC_SIGNAL(out_INSERT_ISSUE_QUEUE_NUM_REG_RE ,_param->_nb_rename_unit,_param->_nb_inst_insert[it1]); |
---|
| 456 | |
---|
| 457 | // DELETE1_SC_SIGNAL(out_RETIRE_VAL ,_param->_sum_inst_retire); |
---|
| 458 | // DELETE1_SC_SIGNAL( in_RETIRE_ACK ,_param->_sum_inst_retire); |
---|
| 459 | // DELETE1_SC_SIGNAL(out_RETIRE_RD_OLD_USE ,_param->_sum_inst_retire); |
---|
| 460 | // DELETE1_SC_SIGNAL(out_RETIRE_RD_OLD_NUM_REG ,_param->_sum_inst_retire); |
---|
| 461 | // DELETE1_SC_SIGNAL(out_RETIRE_RD_NEW_USE ,_param->_sum_inst_retire); |
---|
| 462 | // DELETE1_SC_SIGNAL(out_RETIRE_RD_NEW_NUM_REG ,_param->_sum_inst_retire); |
---|
| 463 | // DELETE1_SC_SIGNAL(out_RETIRE_RE_OLD_USE ,_param->_sum_inst_retire); |
---|
| 464 | // DELETE1_SC_SIGNAL(out_RETIRE_RE_OLD_NUM_REG ,_param->_sum_inst_retire); |
---|
| 465 | // DELETE1_SC_SIGNAL(out_RETIRE_RE_NEW_USE ,_param->_sum_inst_retire); |
---|
| 466 | // DELETE1_SC_SIGNAL(out_RETIRE_RE_NEW_NUM_REG ,_param->_sum_inst_retire); |
---|
| 467 | |
---|
| 468 | // DELETE2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_VAL ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 469 | // DELETE2_SC_SIGNAL( in_RETIRE_RENAME_UNIT_ACK ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 470 | // DELETE2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_FRONT_END_ID ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 471 | // DELETE2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 472 | // DELETE2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_NUM_REG_RD_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 473 | // DELETE2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_NUM_REG_RD_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 474 | // DELETE2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_WRITE_RE ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 475 | // DELETE2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_NUM_REG_RE_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 476 | // DELETE2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_NUM_REG_RE_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 477 | // DELETE2_SC_SIGNAL(out_RETIRE_RENAME_UNIT_EVENT_STATE ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 478 | |
---|
| 479 | // DELETE2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_VAL ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 480 | // DELETE2_SC_SIGNAL(out_RETIRE_COMMIT_UNIT_ACK ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 481 | // DELETE2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_FRONT_END_ID ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 482 | // DELETE2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_WRITE_RD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 483 | // DELETE2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_NUM_REG_RD_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 484 | // DELETE2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_NUM_REG_RD_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 485 | // DELETE2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_WRITE_RE ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 486 | // DELETE2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_NUM_REG_RE_PHY_OLD ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 487 | // DELETE2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_NUM_REG_RE_PHY_NEW ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 488 | // DELETE2_SC_SIGNAL( in_RETIRE_COMMIT_UNIT_EVENT_STATE ,_param->_nb_rename_unit,_param->_nb_inst_retire[it1]); |
---|
| 489 | |
---|
| 490 | DELETE2_SC_SIGNAL(out_SPR_SR_IEE ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 491 | DELETE2_SC_SIGNAL(out_SPR_SR_EPH ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 492 | DELETE2_SC_SIGNAL(out_SPR_RENAME_UNIT_SR ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 493 | DELETE2_SC_SIGNAL(out_SPR_COMMIT_UNIT_SR_OVE ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 494 | DELETE2_SC_SIGNAL( in_SPR_SPECIAL_REGISTER_UNIT_SR ,_param->_nb_front_end,_param->_nb_context[it1]); |
---|
| 495 | } |
---|
| 496 | #endif |
---|
| 497 | |
---|
| 498 | delete _OOO_Engine_Glue; |
---|
| 499 | #ifdef STATISTICS |
---|
| 500 | delete _parameters_statistics; |
---|
| 501 | #endif |
---|
| 502 | } |
---|