Index: /trunk/modules/vci_block_device_tsar/caba/source/include/vci_block_device_tsar.h
===================================================================
--- /trunk/modules/vci_block_device_tsar/caba/source/include/vci_block_device_tsar.h	(revision 390)
+++ /trunk/modules/vci_block_device_tsar/caba/source/include/vci_block_device_tsar.h	(revision 391)
@@ -78,4 +78,5 @@
 #include <stdint.h>
 #include <systemc>
+#include <unistd.h>
 #include "caba_base_module.h"
 #include "mapping_table.h"
Index: /trunk/modules/vci_mem_cache/caba/source/src/vci_mem_cache.cpp
===================================================================
--- /trunk/modules/vci_mem_cache/caba/source/src/vci_mem_cache.cpp	(revision 390)
+++ /trunk/modules/vci_mem_cache/caba/source/src/vci_mem_cache.cpp	(revision 391)
@@ -430,6 +430,6 @@
          "MEMC ERROR : VCI internal data width must be 32 bits");
           
-    assert( (vci_param_ext::B == 8 ) and
-         "MEMC ERROR : VCI external data width must be 32 or 64 bits");
+    assert( (vci_param_ext::B == 8) and
+         "MEMC ERROR : VCI external data width must be 64 bits");
 
     // Check coherence between internal & external addresses
@@ -7250,6 +7250,6 @@
       p_vci_ixr.address = (addr_t)( (r_write_to_ixr_cmd_nline.read() * m_words +
                                      r_ixr_cmd_cpt.read()) * 4 );
-      p_vci_ixr.wdata   = (wide_data_t)(r_write_to_ixr_cmd_data[r_ixr_cmd_cpt.read()].read() |
-                                        r_write_to_ixr_cmd_data[r_ixr_cmd_cpt.read()+1].read());
+      p_vci_ixr.wdata   = ((wide_data_t)(r_write_to_ixr_cmd_data[r_ixr_cmd_cpt.read()].read()) |
+                          ((wide_data_t)(r_write_to_ixr_cmd_data[r_ixr_cmd_cpt.read()+1].read()) << 32));
       p_vci_ixr.trdid   = r_write_to_ixr_cmd_trdid.read();
       p_vci_ixr.eop     = (r_ixr_cmd_cpt == (m_words-2));
@@ -7271,6 +7271,6 @@
     p_vci_ixr.address   = (addr_t)( (r_xram_rsp_to_ixr_cmd_nline.read() * m_words +
                                    r_ixr_cmd_cpt.read()) * 4 );
-    p_vci_ixr.wdata     = (wide_data_t)(r_xram_rsp_to_ixr_cmd_data[r_ixr_cmd_cpt.read()].read() |
-                                        r_xram_rsp_to_ixr_cmd_data[r_ixr_cmd_cpt.read()+1].read());
+    p_vci_ixr.wdata     = ((wide_data_t)(r_xram_rsp_to_ixr_cmd_data[r_ixr_cmd_cpt.read()].read()) |
+                          ((wide_data_t)(r_xram_rsp_to_ixr_cmd_data[r_ixr_cmd_cpt.read()+1].read()) << 32));
     p_vci_ixr.trdid     = r_xram_rsp_to_ixr_cmd_trdid.read();
     p_vci_ixr.eop       = (r_ixr_cmd_cpt == (m_words-2));
