Changeset 190 for trunk/platforms
- Timestamp:
- Feb 8, 2012, 9:33:35 PM (13 years ago)
- Location:
- trunk/platforms/caba-vdspin-vci_synthetic_initiator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.