Changeset 405 for trunk/modules
- Timestamp:
- Jun 7, 2013, 6:02:13 PM (12 years ago)
- Location:
- trunk/modules/vci_io_bridge/caba/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_io_bridge/caba/source/include/vci_io_bridge.h
r240 r405 96 96 // Data field may change for external network 97 97 typedef typename vci_param_x::data_t vci_data_t_x; 98 typedef typename vci_param_x::be_t vci_be_t_x; 98 99 // Srcid field may change for external network 99 100 typedef typename vci_param_x::srcid_t vci_srcid_t_x; … … 374 375 sc_signal<vci_trdid_t> r_miss_trdid ; 375 376 sc_signal<vci_pktid_t> r_miss_pktid ; 376 vci_data_t 377 vci_data_t_x *r_miss_data ; 377 378 vci_be_t *r_miss_be; 378 379 -
trunk/modules/vci_io_bridge/caba/source/src/vci_io_bridge.cpp
r240 r405 360 360 assert( (vci_param_d::N <= 64) and 361 361 "ADDRESS cannot be bigger than 64 bits"); 362 assert( (vci_param_ d::B == vci_param_io::B)and363 "DATA field must have the same size in Directand IO Network");362 assert( (vci_param_x::B)*8 == 64 and (vci_param_io::B)*8 == 64 and 363 "DATA field must be 64 bits in Extern and IO Network"); 364 364 assert ( (vci_param_d::B)*8 == 32 365 365 and "Error: data field in Direct Noc must be 32 bits" ); … … 1697 1697 1698 1698 ///////////////////////////////////////////////////////////////////// 1699 // The CONFIG_CMD_FSM is similar to the DMA_CMD_FSM, but without miss TLB treatmentcontrols the following ressources: 1699 // The CONFIG_CMD_FSM is similar to the DMA_CMD_FSM, but without miss TLB treatment. 1700 // It controls the following ressources: 1700 1701 // - r_config_cmd_fsm 1701 1702 // … … 3051 3052 #endif 3052 3053 3053 p_vci_ini_config.be = m_config_cmd_be_fifo.read();3054 p_vci_ini_config.be = (vci_be_t_x)m_config_cmd_be_fifo.read(); 3054 3055 p_vci_ini_config.cmd = m_config_cmd_cmd_fifo.read(); 3055 3056 p_vci_ini_config.contig = m_config_cmd_contig_fifo.read(); … … 3057 3058 //TODO 3058 3059 #else 3059 p_vci_ini_config.wdata = m_config_cmd_data_fifo.read(); // The first is in param_x3060 // the second in param_ io3060 p_vci_ini_config.wdata = (vci_data_t_x)m_config_cmd_data_fifo.read(); // The first is in param_io 3061 // the second in param_d 3061 3062 #endif 3062 3063 p_vci_ini_config.eop = m_config_cmd_eop_fifo.read(); … … 3140 3141 p_vci_tgt_config.rtrdid = m_config_local_rtrdid_fifo.read(); 3141 3142 p_vci_tgt_config.rpktid = m_config_local_rpktid_fifo.read(); 3142 p_vci_tgt_config.rdata = m_config_local_data_fifo.read();3143 p_vci_tgt_config.rdata = (vci_data_t)m_config_local_data_fifo.read(); 3143 3144 p_vci_tgt_config.rerror = m_config_local_rerror_fifo.read(); 3144 3145 p_vci_tgt_config.reop = m_config_local_reop_fifo.read(); … … 3152 3153 p_vci_tgt_config.rpktid = m_config_rsp_rpktid_fifo.read(); 3153 3154 3154 p_vci_tgt_config.rdata = m_config_rsp_data_fifo.read(); // The first is in param_d3155 p_vci_tgt_config.rdata = (vci_data_t)m_config_rsp_data_fifo.read(); // The first is in param_d 3155 3156 // the second in param_io 3156 3157 p_vci_tgt_config.rerror = m_config_rsp_rerror_fifo.read(); … … 3180 3181 p_vci_tgt_config.rpktid = m_config_rsp_rpktid_fifo.read(); 3181 3182 3182 p_vci_tgt_config.rdata = m_config_rsp_data_fifo.read(); // The first is in param_d3183 p_vci_tgt_config.rdata = (vci_data_t)m_config_rsp_data_fifo.read(); // The first is in param_d 3183 3184 // the second in param_io 3184 3185 p_vci_tgt_config.rerror = m_config_rsp_rerror_fifo.read(); … … 3191 3192 p_vci_tgt_config.rtrdid = m_config_local_rtrdid_fifo.read(); 3192 3193 p_vci_tgt_config.rpktid = m_config_local_rpktid_fifo.read(); 3193 p_vci_tgt_config.rdata = m_config_local_data_fifo.read();3194 p_vci_tgt_config.rdata = (vci_data_t)m_config_local_data_fifo.read(); 3194 3195 p_vci_tgt_config.rerror = m_config_local_rerror_fifo.read(); 3195 3196 p_vci_tgt_config.reop = m_config_local_reop_fifo.read();
Note: See TracChangeset
for help on using the changeset viewer.