- Timestamp:
- Sep 5, 2010, 10:36:58 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/caba-ring-ccxcachev1_memcachev3-mipsel/top.cpp
r85 r86 31 31 32 32 // Define VCI parameters 33 typedef soclib::caba::VciParams<4,8,32, 1,1,1,8,4,4,1> vci_param;33 typedef soclib::caba::VciParams<4,8,32,2,1,1,8,4,4,1> vci_param; 34 34 typedef soclib::common::Iss2Simhelper<soclib::common::Mips32ElIss> proc_iss; 35 35 // Mapping table … … 192 192 ringc("ringc",maptabc, IntTab(), 2, 5, 5); 193 193 194 soclib::caba::VciSimpleRingFast<vci_param, 40, 33>195 ringx("ringx",maptabx, IntTab(), 2, 1, 1);194 soclib::caba::VciSimpleRingFast<vci_param, 40, 33> 195 ringx("ringx",maptabx, IntTab(), 2, 1, 1); 196 196 197 197 // Net-List … … 310 310 int ncycles; 311 311 312 #ifndef SOCVIEW313 312 if (argc == 2) { 314 313 ncycles = std::atoi(argv[1]); … … 328 327 signal_resetn = true; 329 328 330 /* 331 while(1){ 332 char buf[2]; 333 std::cin.getline(buf,1); 329 330 for (int i = 0; i < ncycles ; i+=1) { 334 331 sc_start(sc_core::sc_time(1, SC_NS)); 335 }336 */337 338 for (int i = 0; i < ncycles ; i+=10000) {339 sc_start(sc_core::sc_time(10000, SC_NS));340 // proc0.print_stats();341 // memc.print_stats();342 332 } 343 333 … … 348 338 349 339 return EXIT_SUCCESS; 350 #else351 ncycles = 1;352 sc_start(sc_core::sc_time(0, SC_NS));353 signal_resetn = false;354 sc_start(sc_core::sc_time(1, SC_NS));355 signal_resetn = true;356 357 debug();358 return EXIT_SUCCESS;359 #endif360 340 } 361 341
Note: See TracChangeset
for help on using the changeset viewer.