Changeset 764 for trunk/platforms
- Timestamp:
- Aug 11, 2014, 9:58:17 PM (10 years ago)
- Location:
- trunk/platforms/tsar_generic_iob
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_iob/arch.py
r762 r764 43 43 nb_ttys = 1 44 44 nb_nics = 2 45 fbf_width = 1 02445 fbf_width = 128 46 46 x_io = 0 47 47 y_io = 0 … … 59 59 60 60 assert( (x_size == 1) or (x_size == 2) or (x_size == 4) 61 or ( y_size == 8) or (x_size == 16) )61 or (x_size == 8) or (x_size == 16) ) 62 62 63 63 assert( (y_size == 1) or (y_size == 2) or (y_size == 4) … … 114 114 115 115 boot_mapping_vbase = 0x00000000 # ident 116 boot_mapping_size = 0x00080000 # 256Kbytes116 boot_mapping_size = 0x00080000 # 512 Kbytes 117 117 118 118 boot_code_vbase = 0x00080000 # ident … … 120 120 121 121 boot_data_vbase = 0x000C0000 # ident 122 boot_data_size = 0x00080000 # 512 Kbytes (including 128K bytes for the GIET_ELF_BUFFER)122 boot_data_size = 0x00080000 # 512 Kbytes 123 123 124 124 boot_stack_vbase = 0x00140000 # ident … … 140 140 141 141 kernel_sched_vbase = 0xF0000000 # distributed in all clusters 142 kernel_sched_size = 0x 1000 * nb_procs # 4kbytes per processor142 kernel_sched_size = 0x2000 * nb_procs # 8 kbytes per processor 143 143 144 144 ### create mapping -
trunk/platforms/tsar_generic_iob/top.cpp
r762 r764 206 206 #define L1_DSETS 64 207 207 208 #define BDEV_IMAGE_NAME " ../../../giet_vm/hdd/virt_hdd.dmg"209 210 #define NIC_RX_NAME " giet_vm/nic/rx_packets.txt"211 #define NIC_TX_NAME " giet_vm/nic/tx_packets.txt"208 #define BDEV_IMAGE_NAME "virt_hdd.dmg" 209 210 #define NIC_RX_NAME "/dev/null" 211 #define NIC_TX_NAME "/dev/null" 212 212 #define NIC_TIMEOUT 10000 213 213 … … 229 229 //////////////////////i///////////////////////////////////// 230 230 231 #define MAX_FROZEN_CYCLES 20000000231 #define MAX_FROZEN_CYCLES 100000 232 232 233 233 ///////////////////////////////////////////////////////// … … 245 245 // All initiators are in the same indexing space (14 bits). 246 246 // The SRCID is structured in two fields: 247 // - The 10MSB bits define the cluster index (left aligned)248 // - The 4LSB bits define the local index.247 // - The 8 MSB bits define the cluster index (left aligned) 248 // - The 6 LSB bits define the local index. 249 249 // Two different initiators cannot have the same SRCID, but a given 250 250 // initiator can have two alias SRCIDs: … … 328 328 ssize_t threads_nr = 1; // simulator's threads number 329 329 bool debug_ok = false; // trace activated 330 size_t debug_period = 1; // trace period331 330 size_t debug_memc_id = 0xFFFFFFFF; // index of traced memc 332 331 size_t debug_proc_id = 0xFFFFFFFF; // index of traced proc … … 418 417 frozen_cycles = atoi(argv[n+1]); 419 418 } 420 else if ((strcmp(argv[n], "-PERIOD") == 0) && (n+1 < argc))421 {422 debug_period = atoi(argv[n+1]);423 }424 419 else 425 420 { … … 433 428 std::cout << " -THREADS simulator's threads number" << std::endl; 434 429 std::cout << " -FROZEN max_number_of_lines" << std::endl; 435 std::cout << " -PERIOD number_of_cycles between trace" << std::endl;436 430 std::cout << " -MEMCID index_memc_to_be_traced" << std::endl; 437 431 std::cout << " -XRAMID index_xram_to_be_traced" << std::endl; … … 1431 1425 1432 1426 // Monitor a specific address for one L2 cache 1433 // clusters[0][0]->memc->cache_monitor( 0x E1904ULL, true ); // single word1427 // clusters[0][0]->memc->cache_monitor( 0x1c4924LL, true ); // single word 1434 1428 1435 1429 // Monitor a specific address for one XRAM 1436 1430 // clusters[0][0]->xram->start_monitor( 0xE1900ULL , 64); 1437 1431 1438 if ( debug_ok and (n > debug_from) and (n % debug_period == 0))1432 if ( debug_ok and (n > debug_from) ) 1439 1433 { 1440 1434 std::cout << "****************** cycle " << std::dec << n ; … … 1448 1442 size_t x = cluster_xy >> 4; 1449 1443 size_t y = cluster_xy & 0xF; 1450 1451 clusters[x][y]->proc[l]->print_trace(0x 40);1444 1445 clusters[x][y]->proc[l]->print_trace(0x1); 1452 1446 std::ostringstream proc_signame; 1453 1447 proc_signame << "[SIG]PROC_" << x << "_" << y << "_" << l ;
Note: See TracChangeset
for help on using the changeset viewer.