Index: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/src/Register_unit_Glue.cpp
===================================================================
--- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/src/Register_unit_Glue.cpp	(revision 128)
+++ trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/src/Register_unit_Glue.cpp	(revision 131)
@@ -70,20 +70,16 @@
     if (usage_is_set(_usage,USE_SYSTEMC))
       {
-    // Constant
-//     PORT_WRITE(out_CONST_0 ,0);
-//     PORT_WRITE(out_CONST_1 ,1);
-        for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i)
-          {
-            for (uint32_t j=0; j<_param->_nb_gpr_write; ++j)
-              PORT_WRITE(out_GPR_WRITE_STATUS_DATA [i][j],1);
-            for (uint32_t j=0; j<_param->_nb_spr_write; ++j)
-              PORT_WRITE(out_SPR_WRITE_STATUS_DATA [i][j],1);
-
-            for (uint32_t j=0; j<_param->_nb_inst_insert_rob[i]; ++j)
-              {
-                PORT_WRITE(out_INSERT_ROB_GPR_STATUS_DATA [i][j],0);
-                PORT_WRITE(out_INSERT_ROB_SPR_STATUS_DATA [i][j],0);
-              }
-          }
+#ifdef SYSTEMCASS_SPECIFIC
+        constant();
+#else
+    log_printf(INFO,Register_unit_Glue,FUNCTION,"Method - constant");
+
+    SC_METHOD (constant);
+//     dont_initialize ();
+
+#ifdef SYSTEMCASS_SPECIFIC
+    // List dependency information
+#endif    
+#endif
 
     log_printf(INFO,Register_unit_Glue,FUNCTION,"Method - transition");
@@ -91,5 +87,5 @@
     SC_METHOD (transition);
     dont_initialize ();
-    sensitive_pos << *(in_CLOCK);
+    sensitive << (*(in_CLOCK)).pos();
 
 #ifdef SYSTEMCASS_SPECIFIC
@@ -101,5 +97,5 @@
     SC_METHOD (genMealy_gpr_read);
     dont_initialize ();
-//     sensitive_neg << *(in_CLOCK);
+//     sensitive << (*(in_CLOCK)).neg();
     for (uint32_t j=0; j<_param->_nb_gpr_read; j++)
       {
@@ -138,5 +134,5 @@
     SC_METHOD (genMealy_gpr_read_status);
     dont_initialize ();
-//     sensitive_neg << *(in_CLOCK);
+//     sensitive << (*(in_CLOCK)).neg();
     for (uint32_t j=0; j<_param->_nb_gpr_read; j++)
       {
@@ -167,5 +163,5 @@
     SC_METHOD (genMealy_gpr_read_registerfile);
     dont_initialize ();
-//     sensitive_neg << *(in_CLOCK);
+//     sensitive << (*(in_CLOCK)).neg();
     for (uint32_t j=0; j<_param->_nb_gpr_read; j++)
       {
@@ -196,5 +192,5 @@
     SC_METHOD (genMealy_gpr_write);
     dont_initialize ();
-//     sensitive_neg << *(in_CLOCK);
+//     sensitive << (*(in_CLOCK)).neg();
     for (uint32_t j=0; j<_param->_nb_gpr_write; j++)
       {
@@ -226,5 +222,5 @@
     SC_METHOD (genMealy_gpr_write_status);
     dont_initialize ();
-//     sensitive_neg << *(in_CLOCK);
+//     sensitive << (*(in_CLOCK)).neg();
     for (uint32_t j=0; j<_param->_nb_gpr_write; j++)
       {
@@ -255,5 +251,5 @@
     SC_METHOD (genMealy_gpr_write_registerfile);
     dont_initialize ();
-//     sensitive_neg << *(in_CLOCK);
+//     sensitive << (*(in_CLOCK)).neg();
     for (uint32_t j=0; j<_param->_nb_gpr_write; j++)
       {
@@ -284,5 +280,5 @@
     SC_METHOD (genMealy_spr_read);
     dont_initialize ();
-//     sensitive_neg << *(in_CLOCK);
+//     sensitive << (*(in_CLOCK)).neg();
     for (uint32_t j=0; j<_param->_nb_spr_read; j++)
       {
@@ -321,5 +317,5 @@
     SC_METHOD (genMealy_spr_read_status);
     dont_initialize ();
-//     sensitive_neg << *(in_CLOCK);
+//     sensitive << (*(in_CLOCK)).neg();
     for (uint32_t j=0; j<_param->_nb_spr_read; j++)
       {
@@ -350,5 +346,5 @@
     SC_METHOD (genMealy_spr_read_registerfile);
     dont_initialize ();
-//     sensitive_neg << *(in_CLOCK);
+//     sensitive << (*(in_CLOCK)).neg();
     for (uint32_t j=0; j<_param->_nb_spr_read; j++)
       {
@@ -379,5 +375,5 @@
     SC_METHOD (genMealy_spr_write);
     dont_initialize ();
-//     sensitive_neg << *(in_CLOCK);
+//     sensitive << (*(in_CLOCK)).neg();
     for (uint32_t j=0; j<_param->_nb_spr_write; j++)
       {
@@ -409,5 +405,5 @@
     SC_METHOD (genMealy_spr_write_status);
     dont_initialize ();
-//     sensitive_neg << *(in_CLOCK);
+//     sensitive << (*(in_CLOCK)).neg();
     for (uint32_t j=0; j<_param->_nb_spr_write; j++)
       {
@@ -438,5 +434,5 @@
     SC_METHOD (genMealy_spr_write_registerfile);
     dont_initialize ();
-//     sensitive_neg << *(in_CLOCK);
+//     sensitive << (*(in_CLOCK)).neg();
     for (uint32_t j=0; j<_param->_nb_spr_write; j++)
       {
@@ -467,5 +463,5 @@
     SC_METHOD (genMealy_insert);
     dont_initialize ();
-//     sensitive_neg << *(in_CLOCK);
+//     sensitive << (*(in_CLOCK)).neg();
     for (uint32_t i=0; i<_param->_nb_ooo_engine; i++)
       {
@@ -503,5 +499,5 @@
 //     SC_METHOD (genMealy_retire);
 //     dont_initialize ();
-// //     sensitive_neg << *(in_CLOCK);
+// //     sensitive << (*(in_CLOCK)).neg();
 //     for (uint32_t i=0; i<_param->_nb_ooo_engine; i++)
 //       {
