- Timestamp:
- Feb 8, 2012, 9:33:35 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_synthetic_initator/caba/sources/include/vci_synthetic_initiator.h
r146 r190 76 76 BC_RSP_WAIT_RSP 77 77 }; 78 79 80 81 78 82 79 protected: -
trunk/modules/vci_synthetic_initator/caba/sources/src/vci_synthetic_initiator.cpp
r180 r190 277 277 int id = -1; 278 278 for(size_t i = 1; i < m_tab_size; i++){ // ID 0 reserved for broadcast transactions 279 if( r_pending_fsm[i].read() == false)279 if( r_pending_fsm[i].read() == false ) 280 280 { 281 281 id = (int)i; … … 318 318 fifo_get = true; 319 319 r_cmd_fsm = VCI_IDLE; 320 } 320 break; 321 } 321 322 case VCI_BC_SEND: 322 323 { … … 342 343 if(p_vci.rtrdid.read() == 0) // not a broadcast 343 344 { 344 345 assert( ( r_pending_fsm[0].read() == true ) && 345 346 "illegal broadcast response received"); 346 347 r_bc_nrsp = r_bc_nrsp.read() - 1 ; -
trunk/platforms/caba-vdspin-vci_synthetic_initiator/Makefile
r133 r190 1 1 ARCH=mips32el 2 2 SIMULATION_ARGS=100000 3 SOCLIB_CC_ADD_ARGS=-t systemcass -I.4 #SOCLIB_CC_ADD_ARGS=-I.3 #SOCLIB_CC_ADD_ARGS=-t systemcass -I. 4 SOCLIB_CC_ADD_ARGS=-I. 5 5 SOCLIB?=$(shell soclib-cc --getpath) 6 6 export SOCLIB -
trunk/platforms/caba-vdspin-vci_synthetic_initiator/top.cpp
r182 r190 53 53 #define LOAD 450 54 54 55 #define STAGE 0 55 56 56 57 int _main(int argc, char *argv[]) … … 174 175 str0 << "Initiator_c0_" << i << "_" << j ; 175 176 str1 << "Initiator_c1_" << i << "_" << j ; 176 new(&initiator_c0[Y_MAX*i+j]) soclib::caba::VciSyntheticInitiator<vci_param> (str0.str().c_str() , maptab0, IntTab((i*Y_MAX+j) ,0), PACKET_LENGTH, 0, 100, X_MAX, Y_MAX); 177 new(&initiator_c1[Y_MAX*i+j]) soclib::caba::VciSyntheticInitiator<vci_param> (str1.str().c_str() , maptab1, IntTab((i*Y_MAX+j) ,0), PACKET_LENGTH, rho_b, 100, X_MAX, Y_MAX, rho_a, 0, X_MAX, 0, Y_MAX); 177 new(&initiator_c0[Y_MAX*i+j]) soclib::caba::VciSyntheticInitiator<vci_param> (str0.str().c_str() , maptab0, IntTab((i*Y_MAX+j) ,0), PACKET_LENGTH, 0, 100, X_MAX, Y_MAX); 178 #if STAGE==1 179 if( (i + 1 == X_MAX) && (j + 1 == Y_MAX ) ) 180 #endif 181 new(&initiator_c1[Y_MAX*i+j]) soclib::caba::VciSyntheticInitiator<vci_param> (str1.str().c_str() , maptab1, IntTab((i*Y_MAX+j) ,0), PACKET_LENGTH, rho_a, 100, X_MAX, Y_MAX, rho_b, 0, X_MAX, 0, Y_MAX); 182 183 #if STAGE==1 184 else 185 new(&initiator_c1[Y_MAX*i+j]) soclib::caba::VciSyntheticInitiator<vci_param> (str1.str().c_str() , maptab1, IntTab((i*Y_MAX+j) ,0), PACKET_LENGTH, rho_a, 100, X_MAX, Y_MAX, 0, 0, X_MAX, 0, Y_MAX); 186 #endif 178 187 } 179 188
Note: See TracChangeset
for help on using the changeset viewer.