Index: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Victim_Pseudo_LRU_vhdl_body.cpp
===================================================================
--- trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Victim_Pseudo_LRU_vhdl_body.cpp	(revision 75)
+++ trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Victim_Pseudo_LRU_vhdl_body.cpp	(revision 78)
@@ -35,5 +35,5 @@
     vhdl->set_body ("--    Way Way Way Way Way Way Way Way   ");
     vhdl->set_body ("--     0   1   2   3   4   5   6   7    ");
-    for (uint32_t i=0; i<_param._nb_access; i++)
+    for (uint32_t i=0; i<_param->_nb_access; i++)
       {
 	vhdl->set_body ("");
@@ -42,5 +42,5 @@
 	std::string access_address;
 
-	if (_param._size_table>1)
+	if (_param->_size_table>1)
 	  access_address = "conv_integer(in_ACCESS_"+toString(i)+"_ADDRESS)";
 	else
@@ -50,5 +50,5 @@
 	vhdl->set_body ("");
 
-	for (int32_t j=static_cast<uint32_t>(log2(_param._nb_entity)-1); j>=0; j--)
+	for (int32_t j=static_cast<uint32_t>(log2(_param->_nb_entity)-1); j>=0; j--)
 	  {
  	    vhdl->set_body ("access_entity_"+toString(i)+"("+toString(j)+") <= ");
@@ -56,10 +56,10 @@
 	    uint32_t cpt=0;
 
-	    for (int32_t k=(1<<j)-1; k<static_cast<int32_t>(_param._nb_entity-1); k+=(1<<(j+1)))
+	    for (int32_t k=(1<<j)-1; k<static_cast<int32_t>(_param->_nb_entity-1); k+=(1<<(j+1)))
 	      {
 		std::string cond = "";
 		
 		// Create the condition
-		for (uint32_t l=j+1; l<static_cast<uint32_t>(log2(_param._nb_entity));l++)
+		for (uint32_t l=j+1; l<static_cast<uint32_t>(log2(_param->_nb_entity));l++)
 		  {
 		    if (l==static_cast<uint32_t>(j+1))
@@ -85,10 +85,10 @@
     vhdl->set_body ("");
     vhdl->set_body ("-- port access");
-    for (uint32_t i=0; i<_param._nb_access; i++)
-      for (int32_t j=static_cast<uint32_t>(log2(_param._nb_entity)-1); j>=0; j--)
+    for (uint32_t i=0; i<_param->_nb_access; i++)
+      for (int32_t j=static_cast<uint32_t>(log2(_param->_nb_entity)-1); j>=0; j--)
 	{
 	  uint32_t cpt=0;
 	  
-	  for (int32_t k=(1<<j)-1; k<static_cast<int32_t>(_param._nb_entity-1); k+=(1<<(j+1)))
+	  for (int32_t k=(1<<j)-1; k<static_cast<int32_t>(_param->_nb_entity-1); k+=(1<<(j+1)))
 	    {
 	      bool   have_cond = false;
@@ -96,5 +96,5 @@
 	      
 	      // condition to change the bit
-	      for (uint32_t l=j+1; l<static_cast<uint32_t>(log2(_param._nb_entity));l++)
+	      for (uint32_t l=j+1; l<static_cast<uint32_t>(log2(_param->_nb_entity));l++)
 		{
 		  have_cond = true;
@@ -118,10 +118,10 @@
     vhdl->set_body ("");
     vhdl->set_body ("-- port update");
-    for (uint32_t i=0; i<_param._nb_update; i++)
-      for (int32_t j=static_cast<uint32_t>(log2(_param._nb_entity)-1); j>=0; j--)
+    for (uint32_t i=0; i<_param->_nb_update; i++)
+      for (int32_t j=static_cast<uint32_t>(log2(_param->_nb_entity)-1); j>=0; j--)
 	{
 	  uint32_t cpt=0;
 	  
-	  for (int32_t k=(1<<j)-1; k<static_cast<int32_t>(_param._nb_entity-1); k+=(1<<(j+1)))
+	  for (int32_t k=(1<<j)-1; k<static_cast<int32_t>(_param->_nb_entity-1); k+=(1<<(j+1)))
 	    {
 	      bool   have_cond = false;
@@ -129,5 +129,5 @@
 	      
 	      // condition to change the bit
-	      for (uint32_t l=j+1; l<static_cast<uint32_t>(log2(_param._nb_entity));l++)
+	      for (uint32_t l=j+1; l<static_cast<uint32_t>(log2(_param->_nb_entity));l++)
 		{
 		  have_cond = true;
@@ -146,5 +146,5 @@
 		  std::string update_address;
 
-		  if (_param._size_table>1)
+		  if (_param->_size_table>1)
 		    update_address = "conv_integer(in_UPDATE_"+toString(i)+"_ADDRESS)";
 		  else
@@ -168,9 +168,9 @@
     vhdl->set_body ("\tif in_CLOCK'event and in_CLOCK = '1' then");
     vhdl->set_body ("\t\t-- Access port");
-    for (uint32_t i=0; i<_param._nb_access; i++)
+    for (uint32_t i=0; i<_param->_nb_access; i++)
       {
 	std::string access_address;
 
-	if (_param._size_table>1)
+	if (_param->_size_table>1)
 	  access_address = "conv_integer(in_ACCESS_"+toString(i)+"_ADDRESS)";
 	else
@@ -183,9 +183,9 @@
 
     vhdl->set_body ("\t\t-- Update port");
-    for (uint32_t i=0; i<_param._nb_update; i++)
+    for (uint32_t i=0; i<_param->_nb_update; i++)
       {
 	std::string update_address;
 
-	if (_param._size_table>1)
+	if (_param->_size_table>1)
 	  update_address = "conv_integer(in_UPDATE_"+toString(i)+"_ADDRESS)";
 	else
@@ -207,5 +207,5 @@
     vhdl->set_body ("-- Ack is always ");
     vhdl->set_body ("");
-    for (uint32_t i=0; i<_param._nb_access; i++)
+    for (uint32_t i=0; i<_param->_nb_access; i++)
       {
 	vhdl->set_body ("out_ACCESS_"+toString(i)+"_ACK    <= '1';");
@@ -213,5 +213,5 @@
       }
     vhdl->set_body ("");
-    for (uint32_t i=0; i<_param._nb_update; i++)
+    for (uint32_t i=0; i<_param->_nb_update; i++)
       {
 	vhdl->set_body ("out_UPDATE_"+toString(i)+"_ACK    <= '1';");
