Index: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/Instruction/src/Instruction.cpp
===================================================================
--- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/Instruction/src/Instruction.cpp	(revision 115)
+++ trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/Instruction/src/Instruction.cpp	(revision 117)
@@ -24,6 +24,6 @@
 namespace decod {
 
-#define EXTENDS(x,nb_bits) extend<Tgeneral_data_t>(32, x,true ,nb_bits)
-#define EXTENDZ(x,nb_bits) extend<Tgeneral_data_t>(32, x,false,nb_bits)
+#define EXTENDS(x,nb_bits) extend<Tgeneral_data_t>(param->_size_data, x,true ,nb_bits)
+#define EXTENDZ(x,nb_bits) extend<Tgeneral_data_t>(param->_size_data, x,false,nb_bits)
 
   void instruction_decod               (decod_instruction_t * inst, decod_param_t * param)
Index: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/SelfTest/src/test.cpp
===================================================================
--- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/SelfTest/src/test.cpp	(revision 115)
+++ trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/SelfTest/src/test.cpp	(revision 117)
@@ -52,4 +52,76 @@
   sc_clock              *  in_CLOCK  = new sc_clock ("clock", 1.0, 0.5);	 
   sc_signal<Tcontrol_t> *  in_NRESET = new sc_signal<Tcontrol_t> ("NRESET");
+
+  sc_signal<Tcontrol_t         > ***  in_IFETCH_VAL                         ;
+  sc_signal<Tcontrol_t         > *** out_IFETCH_ACK                         ;
+  sc_signal<Tinstruction_t     > ***  in_IFETCH_INSTRUCTION                 ;
+
+  sc_signal<Tcontext_t         >  **  in_IFETCH_CONTEXT_ID                  ;
+  sc_signal<Tgeneral_address_t >  **  in_IFETCH_ADDRESS                     ;
+//sc_signal<Tgeneral_address_t >  **  in_IFETCH_ADDRESS_NEXT                ;
+  sc_signal<Tinst_ifetch_ptr_t >  **  in_IFETCH_INST_IFETCH_PTR             ;
+  sc_signal<Tbranch_state_t    >  **  in_IFETCH_BRANCH_STATE                ;
+  sc_signal<Tprediction_ptr_t  >  **  in_IFETCH_BRANCH_UPDATE_PREDICTION_ID ;
+  sc_signal<Texception_t       >  **  in_IFETCH_EXCEPTION                   ;
+
+  sc_signal<Tcontrol_t         >  ** out_DECOD_VAL                          ;
+  sc_signal<Tcontrol_t         >  **  in_DECOD_ACK                          ;
+  sc_signal<Tcontext_t         >  ** out_DECOD_CONTEXT_ID                   ;
+  sc_signal<Tdepth_t           >  ** out_DECOD_DEPTH                        ;
+  sc_signal<Ttype_t            >  ** out_DECOD_TYPE                         ;
+  sc_signal<Toperation_t       >  ** out_DECOD_OPERATION                    ;
+  sc_signal<Tcontrol_t         >  ** out_DECOD_NO_EXECUTE                   ;
+  sc_signal<Tcontrol_t         >  ** out_DECOD_IS_DELAY_SLOT                ;
+  sc_signal<Tgeneral_data_t    >  ** out_DECOD_ADDRESS                      ;
+
+  sc_signal<Tgeneral_data_t    >  ** out_DECOD_ADDRESS_NEXT                 ;
+  sc_signal<Tcontrol_t         >  ** out_DECOD_HAS_IMMEDIAT                 ;
+  sc_signal<Tgeneral_data_t    >  ** out_DECOD_IMMEDIAT                     ;
+  sc_signal<Tcontrol_t         >  ** out_DECOD_READ_RA                      ;
+  sc_signal<Tgeneral_address_t >  ** out_DECOD_NUM_REG_RA                   ;
+  sc_signal<Tcontrol_t         >  ** out_DECOD_READ_RB                      ;
+  sc_signal<Tgeneral_address_t >  ** out_DECOD_NUM_REG_RB                   ;
+  sc_signal<Tcontrol_t         >  ** out_DECOD_READ_RC                      ;
+  sc_signal<Tspecial_address_t >  ** out_DECOD_NUM_REG_RC                   ;
+  sc_signal<Tcontrol_t         >  ** out_DECOD_WRITE_RD                     ;
+  sc_signal<Tgeneral_address_t >  ** out_DECOD_NUM_REG_RD                   ;
+  sc_signal<Tcontrol_t         >  ** out_DECOD_WRITE_RE                     ;
+  sc_signal<Tspecial_address_t >  ** out_DECOD_NUM_REG_RE                   ;
+  sc_signal<Texception_t       >  ** out_DECOD_EXCEPTION_USE                ;
+  sc_signal<Texception_t       >  ** out_DECOD_EXCEPTION                    ;
+
+  sc_signal<Tcontrol_t         >  ** out_PREDICT_VAL                        ;
+  sc_signal<Tcontrol_t         >  **  in_PREDICT_ACK                        ;
+  sc_signal<Tcontext_t         >  ** out_PREDICT_CONTEXT_ID                 ;
+  sc_signal<Tcontrol_t         >  ** out_PREDICT_MATCH_INST_IFETCH_PTR      ;
+  sc_signal<Tbranch_state_t    >  ** out_PREDICT_BRANCH_STATE               ;
+  sc_signal<Tprediction_ptr_t  >  ** out_PREDICT_BRANCH_UPDATE_PREDICTION_ID;
+  sc_signal<Tbranch_condition_t>  ** out_PREDICT_BRANCH_CONDITION           ;
+//sc_signal<Tcontrol_t         >  ** out_PREDICT_BRANCH_STACK_WRITE         ;
+  sc_signal<Tcontrol_t         >  ** out_PREDICT_BRANCH_DIRECTION           ;
+  sc_signal<Tgeneral_data_t    >  ** out_PREDICT_ADDRESS_SRC                ;
+  sc_signal<Tgeneral_data_t    >  ** out_PREDICT_ADDRESS_DEST               ;
+  sc_signal<Tcontrol_t         >  **  in_PREDICT_CAN_CONTINUE               ;
+
+  sc_signal<Tdepth_t           >  **  in_DEPTH_MIN                          ;
+  sc_signal<Tdepth_t           >  **  in_DEPTH_MAX                          ;
+  sc_signal<Tcontrol_t         >  **  in_DEPTH_FULL                         ;
+
+  sc_signal<Tcounter_t         >  ** out_NB_INST_DECOD_ALL                  ;
+
+  sc_signal<Tcontrol_t         >  **  in_CONTEXT_DECOD_ENABLE               ;
+  sc_signal<Tcontrol_t         >  **  in_CONTEXT_DEPTH_VAL                  ;
+  sc_signal<Tdepth_t           >  **  in_CONTEXT_DEPTH                      ;
+
+  sc_signal<Tcontrol_t         >   * out_CONTEXT_EVENT_VAL                  ;
+  sc_signal<Tcontrol_t         >   *  in_CONTEXT_EVENT_ACK                  ;
+  sc_signal<Tcontext_t         >   * out_CONTEXT_EVENT_CONTEXT_ID           ;
+  sc_signal<Tdepth_t           >   * out_CONTEXT_EVENT_DEPTH                ;
+  sc_signal<Tevent_type_t      >   * out_CONTEXT_EVENT_TYPE                 ;
+  sc_signal<Tcontrol_t         >   * out_CONTEXT_EVENT_IS_DELAY_SLOT        ;
+  sc_signal<Tgeneral_data_t    >   * out_CONTEXT_EVENT_ADDRESS              ;
+  sc_signal<Tgeneral_data_t    >   * out_CONTEXT_EVENT_ADDRESS_EPCR         ;
+
+
 
   ALLOC2_SC_SIGNAL( in_IFETCH_VAL                         ," in_IFETCH_VAL                         ",Tcontrol_t         ,_param->_nb_context, _param->_nb_inst_fetch[it1]);
