Index: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit/src/Free_List_unit_transition.cpp
===================================================================
--- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit/src/Free_List_unit_transition.cpp	(revision 106)
+++ trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit/src/Free_List_unit_transition.cpp	(revision 108)
@@ -28,5 +28,5 @@
     if (PORT_READ(in_NRESET) == 0)
       {
-	internal_BANK_PRIORITY = 0;
+	reg_BANK_PRIORITY = 0;
 	for (uint32_t i=0; i<_param->_nb_bank; i++)
 	  {
@@ -59,7 +59,8 @@
             {
               log_printf(TRACE,Free_List_unit,FUNCTION,"  * PUSH_GPR[%d]",i);
+              log_printf(TRACE,Free_List_unit,FUNCTION,"    * bank    : %d",internal_PUSH_GPR_BANK[i]);
+              log_printf(TRACE,Free_List_unit,FUNCTION,"    * num_reg : %d",PORT_READ(in_PUSH_GPR_NUM_REG [i]));
 
-              _gpr_list [internal_PUSH_GPR_BANK[i]].push_back(//_param->_mask_gpr &
-                                                              PORT_READ(in_PUSH_GPR_NUM_REG [i]));
+              _gpr_list [internal_PUSH_GPR_BANK[i]].push_back(PORT_READ(in_PUSH_GPR_NUM_REG [i]));
             }
 	// ==================================================
@@ -70,11 +71,12 @@
             {
               log_printf(TRACE,Free_List_unit,FUNCTION,"  * PUSH_SPR[%d]",i);
+              log_printf(TRACE,Free_List_unit,FUNCTION,"    * bank    : %d",internal_PUSH_SPR_BANK[i]);
+              log_printf(TRACE,Free_List_unit,FUNCTION,"    * num_reg : %d",PORT_READ(in_PUSH_SPR_NUM_REG [i]));
 
-              _spr_list [internal_PUSH_SPR_BANK[i]].push_back(//_param->_mask_spr &
-                                                              PORT_READ(in_PUSH_SPR_NUM_REG [i]));
+              _spr_list [internal_PUSH_SPR_BANK[i]].push_back(PORT_READ(in_PUSH_SPR_NUM_REG [i]));
             }
 
-	if (_param->_priority == PRIORITY_ROUND_ROBIN)
-	  internal_BANK_PRIORITY = (internal_BANK_PRIORITY+1)%_param->_nb_bank_by_pop;
+ 	if (_param->_priority == PRIORITY_ROUND_ROBIN)
+          reg_BANK_PRIORITY = (reg_BANK_PRIORITY+1)%_param->_nb_bank_by_pop;
 
 #if (DEBUG >= DEBUG_TRACE) and (DEBUG_Free_List_unit == true)
@@ -83,10 +85,11 @@
       
           log_printf(TRACE,Free_List_unit,FUNCTION,"  * Dump Free List");
-          
           for (uint32_t i=0; i<_param->_nb_bank; ++i)
             {
+              log_printf(TRACE,Free_List_unit,FUNCTION,"    * GPR [%d] - NB_ELT : %d",i,_gpr_list[i].size());
+
               uint32_t j=0;
-              for (std::list<Tgeneral_address_t>::iterator it=_gpr_list->begin();
-                   it!=_gpr_list->end();
+              for (std::list<Tgeneral_address_t>::iterator it=_gpr_list[i].begin();
+                   it!=_gpr_list[i].end();
                    )
                 {
@@ -95,5 +98,5 @@
                   for (uint32_t x=0; x<limit; x++)
                     {
-                      if (it==_gpr_list->end())
+                      if (it==_gpr_list[i].end())
                         break;
                       else
@@ -108,7 +111,9 @@
           for (uint32_t i=0; i<_param->_nb_bank; ++i)
             {
+              log_printf(TRACE,Free_List_unit,FUNCTION,"    * SPR [%d] - NB_ELT : %d",i,_spr_list[i].size());
+
               uint32_t j=0;
-              for (std::list<Tspecial_address_t>::iterator it=_spr_list->begin();
-                   it!=_spr_list->end();
+              for (std::list<Tspecial_address_t>::iterator it=_spr_list[i].begin();
+                   it!=_spr_list[i].end();
                    )
                 {
@@ -117,5 +122,5 @@
                   for (uint32_t x=0; x<limit; x++)
                     {
-                      if (it==_spr_list->end())
+                      if (it==_spr_list[i].end())
                         break;
                       else
@@ -132,7 +137,8 @@
 #ifdef DEBUG_TEST
         if (1)
+          for (uint32_t i=0; i<_param->_nb_bank; ++i)
           {
-            for (std::list<Tgeneral_address_t>::iterator it1=_gpr_list->begin();
-                 it1!=_gpr_list->end();
+            for (std::list<Tgeneral_address_t>::iterator it1=_gpr_list[i].begin();
+                 it1!=_gpr_list[i].end();
                  ++it1
                  )
@@ -141,5 +147,5 @@
 
                 it2 ++;
-                while (it2 != _gpr_list->end())
+                while (it2 != _gpr_list[i].end())
                   {
                     if (*it1 == *it2)
@@ -149,6 +155,6 @@
               }
 
-            for (std::list<Tspecial_address_t>::iterator it1=_spr_list->begin();
-                 it1!=_spr_list->end();
+            for (std::list<Tspecial_address_t>::iterator it1=_spr_list[i].begin();
+                 it1!=_spr_list[i].end();
                  ++it1
                  )
@@ -157,5 +163,5 @@
 
                 it2 ++;
-                while (it2 != _spr_list->end())
+                while (it2 != _spr_list[i].end())
                   {
                     if (*it1 == *it2)
