- Timestamp:
- Feb 16, 2011, 1:42:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/caba-ring-ccxcachev4_memcachev4-mips32el/top.cpp
r134 r137 14 14 #include "vci_multi_tty.h" 15 15 #include "vci_xicu.h" 16 #include "vci_simple_ring_network_2.h" 17 #include "vci_vgmn.h" 16 #include "vci_simple_ring_fast.h" 18 17 #include "vci_mem_cache_v4.h" 19 18 #include "vci_cc_xcache_wrapper_v4.h" … … 32 31 # define PARAM_VCI 4,8,32,1,1,1,8,4,4,1 33 32 34 # define USE_OLD_XCACHE 135 # define USE_VGMN 136 33 # define NB_PROC_MIN 1 37 34 # define NB_PROC_MAX 15 38 35 // min_latency, fifo_depth 39 # define PARAM_VGMN_P 1 , 840 # define PARAM_VGMN_C 1 , 841 # define PARAM_VGMN_X 2 , 842 // wrapper_fifo_depth43 36 # define PARAM_RING_P 2 44 37 # define PARAM_RING_C 2 … … 61 54 { 62 55 std::cout << funcname << " [nb_cycle [file [soft]]] " << std::endl; 63 std::cout << " * nb_cycle : number of simulated cycle, if 0 then no stop condition. (default : " << NCYCLES_DEFAULT << " cycle(s))" << endl;64 std::cout << " * file : Configuration file : nb_proc, iways, isets, iwords, dways, dsets, dwords, wnwords, wnlines, wtimeout, memc_nways, memc_nsets, memc_words, memc_heap_size. (default : " << FILE_DEFAULT << " cycle(s))" << endl;65 std::cout << " * soft : software executed by this platforms. (default : \"" << SOFT_DEFAULT << "\")" << endl;56 std::cout << " * nb_cycle : number of simulated cycle, if 0 then no stop condition. (default : " << NCYCLES_DEFAULT << " cycle(s))" << std::endl; 57 std::cout << " * file : Configuration file : nb_proc, iways, isets, iwords, dways, dsets, dwords, wnwords, wnlines, wtimeout, memc_nways, memc_nsets, memc_words, memc_heap_size. (default : " << FILE_DEFAULT << " cycle(s))" << std::endl; 58 std::cout << " * soft : software executed by this platforms. (default : \"" << SOFT_DEFAULT << "\")" << std::endl; 66 59 67 60 exit(1); … … 256 249 257 250 proc[i] = new soclib::caba::VciCcXCacheWrapperV4<vci_param, proc_iss > (str.str().c_str(), i, maptabp, maptabc, IntTab(i),IntTab(i),IntTab(i) 258 #if USE_OLD_XCACHE259 ,iways, isets, iwords260 ,dways, dsets, dwords261 #else262 251 ,iways, isets, iwords 263 252 ,dways, dsets, dwords 264 253 ,wnwords, wnlines, wtimeout 265 #endif266 254 ); 267 255 … … 307 295 // interconnect_x : memc | xram 308 296 309 #if USE_VGMN 310 soclib::caba::VciVgmn<vci_param> 311 interconnect_p("interconnect_p",maptabp, nb_proc , 5 , PARAM_VGMN_P); 312 313 soclib::caba::VciVgmn<vci_param> 314 interconnect_c("interconnect_c",maptabc, nb_proc+1, nb_proc+1, PARAM_VGMN_C); 315 316 soclib::caba::VciVgmn<vci_param> 317 interconnect_x("interconnect_x",maptabx, 1 , 1 , PARAM_VGMN_X); 318 #else 319 soclib::caba::VciSimpleRingNetwork2<vci_param,37,33> 297 soclib::caba::VciSimpleRingFast<vci_param,40,33> 320 298 interconnect_p("interconnect_p",maptabp, IntTab(), PARAM_RING_P,nb_proc , 5 ); 321 299 322 soclib::caba::VciSimpleRing Network2<vci_param,37,33>300 soclib::caba::VciSimpleRingFast<vci_param,40,33> 323 301 interconnect_c("interconnect_c",maptabc, IntTab(), PARAM_RING_C,nb_proc+1, nb_proc+1); 324 302 325 soclib::caba::VciSimpleRing Network2<vci_param,37,33>303 soclib::caba::VciSimpleRingFast<vci_param,40,33> 326 304 interconnect_x("interconnect_x",maptabx, IntTab(), PARAM_RING_X,1 , 1 ); 327 #endif328 305 329 306 // Net-List
Note: See TracChangeset
for help on using the changeset viewer.