Index: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/SelfTest/src/main.cpp
===================================================================
--- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/SelfTest/src/main.cpp	(revision 112)
+++ trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/SelfTest/src/main.cpp	(revision 146)
@@ -9,5 +9,5 @@
 #include "Behavioural/include/Selftest.h"
 
-#define NB_PARAMS 3+7*3
+#define NB_PARAMS 3+8*3
 
 void usage (int argc, char * argv[])
@@ -15,14 +15,15 @@
   err (_("<Usage> %s name_instance list_params.\n"),argv[0]);
   err (_("list_params is :\n"));
-  err (_(" * nb_inst_predict            (uint32_t)\n"));
-  err (_(" * nb_inst_update             (uint32_t)\n"));
-  err (_(" * size_address               (uint32_t)\n"));
-  err (_(" * have_bht               [3] (bool    )\n"));
-  err (_(" * bht_size_shifter       [3] (uint32_t)\n"));
-  err (_(" * bht_nb_shifter         [3] (uint32_t)\n"));
-  err (_(" * have_pht               [3] (bool    )\n"));
-  err (_(" * pht_size_counter       [3] (uint32_t)\n"));
-  err (_(" * pht_nb_counter         [3] (uint32_t)\n"));
-  err (_(" * pht_size_address_share [3] (uint32_t)\n"));
+  err (_(" * nb_inst_predict            (uint32_t     )\n"));
+  err (_(" * nb_inst_update             (uint32_t     )\n"));
+  err (_(" * size_address               (uint32_t     )\n"));
+  err (_(" * have_bht               [3] (bool         )\n"));
+  err (_(" * bht_size_shifter       [3] (uint32_t     )\n"));
+  err (_(" * bht_nb_shifter         [3] (uint32_t     )\n"));
+  err (_(" * have_pht               [3] (bool         )\n"));
+  err (_(" * pht_size_counter       [3] (uint32_t     )\n"));
+  err (_(" * pht_nb_counter         [3] (uint32_t     )\n"));
+  err (_(" * pht_size_address_share [3] (uint32_t     )\n"));
+  err (_(" * pht_scheme             [3] (Tpht_scheme_t)\n"));
   exit (1);
 }
@@ -40,28 +41,30 @@
 
   string name = argv[x++];
-  uint32_t _nb_inst_predict           ;
-  uint32_t _nb_inst_update            ;
-  uint32_t _size_address              ;
-  bool     _have_bht               [3];
-  uint32_t _bht_size_shifter       [3];
-  uint32_t _bht_nb_shifter         [3];
-  bool     _have_pht               [3];
-  uint32_t _pht_size_counter       [3];
-  uint32_t _pht_nb_counter         [3];
-  uint32_t _pht_size_address_share [3];
+  uint32_t      _nb_inst_predict           ;
+  uint32_t      _nb_inst_update            ;
+  uint32_t      _size_address              ;
+  bool          _have_bht               [3];
+  uint32_t      _bht_size_shifter       [3];
+  uint32_t      _bht_nb_shifter         [3];
+  bool          _have_pht               [3];
+  uint32_t      _pht_size_counter       [3];
+  uint32_t      _pht_nb_counter         [3];
+  uint32_t      _pht_size_address_share [3];
+  Tpht_scheme_t _pht_scheme             [3];
 
-  SELFTEST0(_nb_inst_predict           ,uint32_t,argv,x);
-  SELFTEST0(_nb_inst_update            ,uint32_t,argv,x);
-  SELFTEST0(_size_address              ,uint32_t,argv,x);
+  SELFTEST0(_nb_inst_predict           ,uint32_t     ,argv,x);
+  SELFTEST0(_nb_inst_update            ,uint32_t     ,argv,x);
+  SELFTEST0(_size_address              ,uint32_t     ,argv,x);
 
   for (uint32_t i=0; i<3; ++i)
     {
-  SELFTEST0(_have_bht               [i],bool    ,argv,x);
-  SELFTEST0(_bht_size_shifter       [i],uint32_t,argv,x);
-  SELFTEST0(_bht_nb_shifter         [i],uint32_t,argv,x);
-  SELFTEST0(_have_pht               [i],bool    ,argv,x);
-  SELFTEST0(_pht_size_counter       [i],uint32_t,argv,x);
-  SELFTEST0(_pht_nb_counter         [i],uint32_t,argv,x);
-  SELFTEST0(_pht_size_address_share [i],uint32_t,argv,x);
+  SELFTEST0(_have_bht               [i],bool         ,argv,x);
+  SELFTEST0(_bht_size_shifter       [i],uint32_t     ,argv,x);
+  SELFTEST0(_bht_nb_shifter         [i],uint32_t     ,argv,x);
+  SELFTEST0(_have_pht               [i],bool         ,argv,x);
+  SELFTEST0(_pht_size_counter       [i],uint32_t     ,argv,x);
+  SELFTEST0(_pht_nb_counter         [i],uint32_t     ,argv,x);
+  SELFTEST0(_pht_size_address_share [i],uint32_t     ,argv,x);
+  SELFTEST0(_pht_scheme             [i],Tpht_scheme_t,argv,x);
     }
 
@@ -81,4 +84,5 @@
          _pht_nb_counter        ,
          _pht_size_address_share,
+	 _pht_scheme            ,
          true // is_toplevel
         );
