Changeset 869 for branches/reconfiguration/communication/dspin_dhccp_param
- Timestamp:
- Oct 27, 2014, 7:08:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/communication/dspin_dhccp_param/caba/source/include/dspin_dhccp_param.h
r867 r869 219 219 static const uint64_t MULTI_ACK_UPDT_INDEX_MASK = ((1ULL<<UPDT_INDEX_WIDTH)-1); 220 220 221 static const uint8_t CC_TEST_DEST_SHIFT= 22;222 static const uint64_t CC_TEST_DEST_MASK= ((1ULL<<GLOBALID_WIDTH)-1);223 static const uint8_t CC_TEST_SRCID_SHIFT= 8;224 static const uint64_t CC_TEST_SRCID_MASK= ((1ULL<<SRCID_WIDTH)-1);225 static const uint8_t CC_TEST_TEST_SHIFT= 5;226 static const uint64_t CC_TEST_TEST_MASK= 1;227 static const uint8_t CC_TEST_SIGNATURE_SHIFT= 0;228 static const uint64_t CC_TEST_SIGNATURE_MASK= ((1ULL<<DATA_WIDTH)-1);221 static const uint8_t TEST_P2M_DEST_SHIFT = 22; 222 static const uint64_t TEST_P2M_DEST_MASK = ((1ULL<<GLOBALID_WIDTH)-1); 223 static const uint8_t TEST_P2M_SRCID_SHIFT = 8; 224 static const uint64_t TEST_P2M_SRCID_MASK = ((1ULL<<SRCID_WIDTH)-1); 225 static const uint8_t TEST_P2M_TEST_SHIFT = 5; 226 static const uint64_t TEST_P2M_TEST_MASK = 1; 227 static const uint8_t TEST_P2M_SIGNATURE_SHIFT = 0; 228 static const uint64_t TEST_P2M_SIGNATURE_MASK = ((1ULL<<DATA_WIDTH)-1); 229 229 230 230 static const uint8_t M2P_TYPE_SHIFT = 1; … … 234 234 static const uint8_t M2P_BC_SHIFT = 0; 235 235 static const uint64_t M2P_BC_MASK = 1; 236 static const uint8_t M2P_TEST_SHIFT = 24; 237 static const uint64_t M2P_TEST_MASK = 1; 236 237 static const uint8_t TEST_M2P_DEST_SHIFT = 25; 238 static const uint64_t TEST_M2P_DEST_MASK = ((1ULL<<SRCID_WIDTH)-1); 239 static const uint8_t TEST_M2P_TEST_SHIFT = 24; 240 static const uint64_t TEST_M2P_TEST_MASK = 1; 241 static const uint8_t TEST_M2P_SIGNATURE_SHIFT = 0; 242 static const uint64_t TEST_M2P_SIGNATURE_MASK = ((1ULL<<(m2p_flit_width-1))-1); 238 243 239 244 static const uint8_t MULTI_INVAL_DEST_SHIFT = 25; … … 281 286 static const uint64_t CLACK_WAY_MASK = ((1ULL<<WAY_INDEX_WIDTH)-1); 282 287 288 static const uint8_t TEST_CLACK_DEST_SHIFT = CLACK_DEST_SHIFT; 289 static const uint64_t TEST_CLACK_DEST_MASK = CLACK_DEST_MASK; 290 static const uint8_t TEST_CLACK_TEST_SHIFT = 24; 291 static const uint64_t TEST_CLACK_TEST_MASK = 1; 292 static const uint8_t TEST_CLACK_SIGNATURE_SHIFT = 0; 293 static const uint64_t TEST_CLACK_SIGNATURE_MASK = ((1ULL<<(clack_flit_width-1))-1); 294 283 295 /* 284 296 * P2M command types … … 321 333 P2M_EOP, 322 334 P2M_BC, 323 P2M_TEST,324 335 325 336 CLEANUP_DEST, … … 332 343 MULTI_ACK_UPDT_INDEX, 333 344 334 CC_TEST_DEST,335 CC_TEST_SRCID,336 CC_TEST_TEST,337 CC_TEST_SIGNATURE,345 TEST_P2M_DEST, 346 TEST_P2M_SRCID, 347 TEST_P2M_TEST, 348 TEST_P2M_SIGNATURE, 338 349 339 350 M2P_TYPE, 340 351 M2P_EOP, 341 352 M2P_BC, 342 M2P_TEST,343 353 344 354 MULTI_INVAL_DEST, … … 355 365 MULTI_UPDT_DATA, 356 366 367 TEST_M2P_DEST, 368 TEST_M2P_TEST, 369 TEST_M2P_SIGNATURE, 370 357 371 CLACK_TYPE, 358 372 … … 360 374 CLACK_SET, 361 375 CLACK_WAY, 376 377 TEST_CLACK_DEST, 378 TEST_CLACK_TEST, 379 TEST_CLACK_SIGNATURE, 362 380 363 381 BROADCAST_BOX, … … 380 398 GET_FIELD(flit,MULTI_ACK_DEST); 381 399 GET_FIELD(flit,MULTI_ACK_UPDT_INDEX); 382 GET_FIELD(flit, CC_TEST_DEST);383 GET_FIELD(flit, CC_TEST_SRCID);384 GET_FIELD(flit, CC_TEST_TEST);385 GET_FIELD(flit, CC_TEST_SIGNATURE);400 GET_FIELD(flit,TEST_P2M_DEST); 401 GET_FIELD(flit,TEST_P2M_SRCID); 402 GET_FIELD(flit,TEST_P2M_TEST); 403 GET_FIELD(flit,TEST_P2M_SIGNATURE); 386 404 GET_FIELD(flit,M2P_TYPE); 387 405 GET_FIELD(flit,M2P_EOP); 388 406 GET_FIELD(flit,M2P_BC); 389 GET_FIELD(flit,M2P_TEST);390 407 GET_FIELD(flit,MULTI_INVAL_DEST); 391 408 GET_FIELD(flit,MULTI_INVAL_SRCID); … … 399 416 GET_FIELD(flit,MULTI_UPDT_BE); 400 417 GET_FIELD(flit,MULTI_UPDT_DATA); 418 GET_FIELD(flit,TEST_M2P_DEST); 419 GET_FIELD(flit,TEST_M2P_TEST); 420 GET_FIELD(flit,TEST_M2P_SIGNATURE); 401 421 GET_FIELD(flit,CLACK_TYPE); 402 422 GET_FIELD(flit,CLACK_DEST); 403 423 GET_FIELD(flit,CLACK_SET); 404 424 GET_FIELD(flit,CLACK_WAY); 425 GET_FIELD(flit,TEST_CLACK_DEST); 426 GET_FIELD(flit,TEST_CLACK_TEST); 427 GET_FIELD(flit,TEST_CLACK_SIGNATURE); 405 428 GET_FIELD(flit,BROADCAST_BOX); 406 429 GET_FIELD(flit,BROADCAST_SRCID); … … 425 448 SET_FIELD(flit,value,MULTI_ACK_DEST); 426 449 SET_FIELD(flit,value,MULTI_ACK_UPDT_INDEX); 427 SET_FIELD(flit,value, CC_TEST_DEST);428 SET_FIELD(flit,value, CC_TEST_SRCID);429 SET_FIELD(flit,value, CC_TEST_TEST);430 SET_FIELD(flit,value, CC_TEST_SIGNATURE);450 SET_FIELD(flit,value,TEST_P2M_DEST); 451 SET_FIELD(flit,value,TEST_P2M_SRCID); 452 SET_FIELD(flit,value,TEST_P2M_TEST); 453 SET_FIELD(flit,value,TEST_P2M_SIGNATURE); 431 454 SET_FIELD(flit,value,M2P_TYPE); 432 455 SET_FIELD(flit,value,M2P_EOP); 433 456 SET_FIELD(flit,value,M2P_BC); 434 SET_FIELD(flit,value,M2P_TEST);435 457 SET_FIELD(flit,value,MULTI_INVAL_DEST); 436 458 SET_FIELD(flit,value,MULTI_INVAL_SRCID); … … 444 466 SET_FIELD(flit,value,MULTI_UPDT_BE); 445 467 SET_FIELD(flit,value,MULTI_UPDT_DATA); 468 SET_FIELD(flit,value,TEST_M2P_DEST); 469 SET_FIELD(flit,value,TEST_M2P_TEST); 470 SET_FIELD(flit,value,TEST_M2P_SIGNATURE); 446 471 SET_FIELD(flit,value,CLACK_TYPE); 447 472 SET_FIELD(flit,value,CLACK_DEST); 448 473 SET_FIELD(flit,value,CLACK_SET); 449 474 SET_FIELD(flit,value,CLACK_WAY); 475 SET_FIELD(flit,value,TEST_CLACK_DEST); 476 SET_FIELD(flit,value,TEST_CLACK_TEST); 477 SET_FIELD(flit,value,TEST_CLACK_SIGNATURE); 450 478 SET_FIELD(flit,value,BROADCAST_BOX); 451 479 SET_FIELD(flit,value,BROADCAST_SRCID);
Note: See TracChangeset
for help on using the changeset viewer.