Changeset 391 for trunk/modules
- Timestamp:
- May 17, 2013, 10:29:24 AM (12 years ago)
- Location:
- trunk/modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_block_device_tsar/caba/source/include/vci_block_device_tsar.h
r374 r391 78 78 #include <stdint.h> 79 79 #include <systemc> 80 #include <unistd.h> 80 81 #include "caba_base_module.h" 81 82 #include "mapping_table.h" -
trunk/modules/vci_mem_cache/caba/source/src/vci_mem_cache.cpp
r385 r391 430 430 "MEMC ERROR : VCI internal data width must be 32 bits"); 431 431 432 assert( (vci_param_ext::B == 8 433 "MEMC ERROR : VCI external data width must be 32 or64 bits");432 assert( (vci_param_ext::B == 8) and 433 "MEMC ERROR : VCI external data width must be 64 bits"); 434 434 435 435 // Check coherence between internal & external addresses … … 7250 7250 p_vci_ixr.address = (addr_t)( (r_write_to_ixr_cmd_nline.read() * m_words + 7251 7251 r_ixr_cmd_cpt.read()) * 4 ); 7252 p_vci_ixr.wdata = ( wide_data_t)(r_write_to_ixr_cmd_data[r_ixr_cmd_cpt.read()].read() |7253 r_write_to_ixr_cmd_data[r_ixr_cmd_cpt.read()+1].read());7252 p_vci_ixr.wdata = ((wide_data_t)(r_write_to_ixr_cmd_data[r_ixr_cmd_cpt.read()].read()) | 7253 ((wide_data_t)(r_write_to_ixr_cmd_data[r_ixr_cmd_cpt.read()+1].read()) << 32)); 7254 7254 p_vci_ixr.trdid = r_write_to_ixr_cmd_trdid.read(); 7255 7255 p_vci_ixr.eop = (r_ixr_cmd_cpt == (m_words-2)); … … 7271 7271 p_vci_ixr.address = (addr_t)( (r_xram_rsp_to_ixr_cmd_nline.read() * m_words + 7272 7272 r_ixr_cmd_cpt.read()) * 4 ); 7273 p_vci_ixr.wdata = ( wide_data_t)(r_xram_rsp_to_ixr_cmd_data[r_ixr_cmd_cpt.read()].read() |7274 r_xram_rsp_to_ixr_cmd_data[r_ixr_cmd_cpt.read()+1].read());7273 p_vci_ixr.wdata = ((wide_data_t)(r_xram_rsp_to_ixr_cmd_data[r_ixr_cmd_cpt.read()].read()) | 7274 ((wide_data_t)(r_xram_rsp_to_ixr_cmd_data[r_ixr_cmd_cpt.read()+1].read()) << 32)); 7275 7275 p_vci_ixr.trdid = r_xram_rsp_to_ixr_cmd_trdid.read(); 7276 7276 p_vci_ixr.eop = (r_ixr_cmd_cpt == (m_words-2));
Note: See TracChangeset
for help on using the changeset viewer.