- Timestamp:
- Oct 27, 2014, 12:29:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/communication/dspin_dhccp_param/caba/source/include/dspin_dhccp_param.h
r863 r864 58 58 * EOP:1 | DEST(10 bits) | X(15 bits) | UPDT_INDEX(4 bits) | TYPE:0b00 | BC:0 59 59 * ---------------------------------------------------------------------------------------------- 60 * 61 * TEST 62 * 63 * 64 * flit 1 65 * ---------------------------------------------------------------------------------------------- 66 * EOP:0 | DEST | SRCID | X | TEST | X | TYPE:0b11 | BC:0 67 * | (10 bits) | (14 bits) | (2 bits) | (1 bit) | (2 bits) | | 68 * ---------------------------------------------------------------------------------------------- 69 * 70 * flit 2 71 * ---------------------------------------------------------------------------------------------- 72 * EOP:1 | SIGNATURE(32 bits) 73 * ---------------------------------------------------------------------------------------------- 60 74 */ 61 75 … … 112 126 * ---------------------------------------------------------------------------------------------- 113 127 * 114 * M2P clack commands 128 * TEST 129 * 130 * flit 1 131 * ---------------------------------------------------------------------------------------------- 132 * EOP:0 | DEST(14 bits) | TEST: 1 | X(3 bits) | MEMC_ID(14 bits) | X(10 bits) | BC:0 133 * ---------------------------------------------------------------------------------------------- 134 * 135 * flit 2 136 * ---------------------------------------------------------------------------------------------- 137 * EOP:1 | SIGNATURE MSB(7 bits) | SIGNATURE (32 bits) 138 * ---------------------------------------------------------------------------------------------- 139 * 140 * CLACK commands 115 141 * 116 142 * CLEANUP ACKNOWLEDGEMENT … … 124 150 * | 1 CLACK | 125 151 * | INST | 152 * TEST 153 * 154 * flit 1 155 * ---------------------------------------------------------------------------------------------- 156 * EOP:0 | DEST(14 bits) | TEST:1 | X(3 bits) | MEMC_ID(14 bits) | X(10 bits) | BC:0 157 * ---------------------------------------------------------------------------------------------- 158 * 159 * flit 2 160 * ---------------------------------------------------------------------------------------------- 161 * EOP:1 | SIGNATURE MSB(7 bits) | SIGNATURE (32 bits) 162 * ---------------------------------------------------------------------------------------------- 163 * 126 164 * 127 165 */ … … 164 202 static const uint8_t P2M_BC_SHIFT = 0; 165 203 static const uint64_t P2M_BC_MASK = 1; 204 static const uint8_t P2M_TEST_SHIFT = 5; 205 static const uint64_t P2M_TEST_MASK = 1; 166 206 167 207 static const uint8_t CLEANUP_DEST_SHIFT = 22; … … 187 227 static const uint8_t M2P_BC_SHIFT = 0; 188 228 static const uint64_t M2P_BC_MASK = 1; 229 static const uint8_t M2P_TEST_SHIFT = 24; 230 static const uint64_t M2P_TEST_MASK = 1; 189 231 190 232 static const uint8_t MULTI_INVAL_DEST_SHIFT = 25; … … 240 282 TYPE_CLEANUP = 2, 241 283 TYPE_CLEANUP_DATA = TYPE_CLEANUP, 242 TYPE_CLEANUP_INST = 3 284 TYPE_CLEANUP_INST = 3, 285 TYPE_TEST = TYPE_CLEANUP_INST 243 286 }; 244 287 … … 271 314 P2M_EOP, 272 315 P2M_BC, 316 P2M_TEST, 273 317 274 318 CLEANUP_DEST, … … 284 328 M2P_EOP, 285 329 M2P_BC, 330 M2P_TEST, 286 331 287 332 MULTI_INVAL_DEST, … … 316 361 GET_FIELD(flit,P2M_EOP); 317 362 GET_FIELD(flit,P2M_BC); 363 GET_FIELD(flit,P2M_TEST); 318 364 GET_FIELD(flit,CLEANUP_DEST); 319 365 GET_FIELD(flit,CLEANUP_SRCID); … … 326 372 GET_FIELD(flit,M2P_EOP); 327 373 GET_FIELD(flit,M2P_BC); 374 GET_FIELD(flit,M2P_TEST); 328 375 GET_FIELD(flit,MULTI_INVAL_DEST); 329 376 GET_FIELD(flit,MULTI_INVAL_SRCID); … … 356 403 SET_FIELD(flit,value,P2M_EOP); 357 404 SET_FIELD(flit,value,P2M_BC); 405 SET_FIELD(flit,value,P2M_TEST); 358 406 SET_FIELD(flit,value,CLEANUP_DEST); 359 407 SET_FIELD(flit,value,CLEANUP_SRCID); … … 366 414 SET_FIELD(flit,value,M2P_EOP); 367 415 SET_FIELD(flit,value,M2P_BC); 416 SET_FIELD(flit,value,M2P_TEST); 368 417 SET_FIELD(flit,value,MULTI_INVAL_DEST); 369 418 SET_FIELD(flit,value,MULTI_INVAL_SRCID);
Note: See TracChangeset
for help on using the changeset viewer.