- Timestamp:
- Jan 9, 2015, 11:55:11 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/modules/vci_cc_vcache_wrapper/caba/source/include/vci_cc_vcache_wrapper.h
r905 r919 123 123 DCACHE_XTN_DC_INVAL_GO, 124 124 DCACHE_XTN_DT_INVAL, 125 DCACHE_XTN_CC_TEST, 125 126 //handling dirty bit update 126 127 DCACHE_DIRTY_GET_PTE, … … 184 185 CC_RECEIVE_INS_UPDT_DATA, 185 186 CC_RECEIVE_DATA_UPDT_DATA, 187 CC_RECEIVE_TEST_HEADER, 188 CC_RECEIVE_TEST_SIGNATURE, 186 189 }; 187 190 … … 192 195 CC_SEND_CLEANUP_2, 193 196 CC_SEND_MULTI_ACK, 197 CC_SEND_TEST_HEADER, 198 CC_SEND_TEST_SIGNATURE, 199 }; 200 201 enum cc_test_fsm_state_e 202 { 203 CC_TEST_IDLE, 204 CC_TEST_P2M_REQ, 205 CC_TEST_P2M_WAIT, 206 CC_TEST_ACK_WAIT, 194 207 }; 195 208 … … 279 292 280 293 // this enumeration type extends the ExternalAcessTypes defined in iss2.h 294 // XTN_CC_TEST: 295 // When XTN_WRITE: triggers the CC_TEST. The target MEMC is in dreq.wdata 296 // When XTN_READ: returns the CC_TEST result 281 297 enum xtn_cop2_extension_e { 282 298 XTN_WDT_MAX = 26, // Read & Write the watchdog timer threshold 299 XTN_CC_TEST = 27, // Trigger coherence network test 283 300 }; 284 301 … … 516 533 sc_signal<uint32_t> r_dcache_paddr_ext; // CP2 register (if vci_address > 32) 517 534 535 // communication between DCACHE FSM and CC_TEST FSM 536 sc_signal<bool> r_dcache_to_cc_test_req; 537 sc_signal<uint32_t> r_dcache_to_cc_test_dest; 538 518 539 /////////////////////////////////// 519 540 // VCI_CMD FSM REGISTERS … … 574 595 sc_signal<bool> r_dspin_clack_req; 575 596 sc_signal<uint64_t> r_dspin_clack_flit; 597 sc_signal<bool> r_dspin_clack_test; 598 599 /////////////////////////////////// 600 // CC_TEST FSM REGISTER 601 /////////////////////////////////// 602 enum cc_test_result_e 603 { 604 CC_TEST_SUCCESS = 0, 605 CC_TEST_FAILURE = 1, 606 }; 607 608 sc_signal<int> r_cc_test_fsm; 609 sc_signal<bool> r_cc_test_to_cc_send_req; 610 sc_signal<bool> r_cc_test_m2p_req; 611 sc_signal<uint64_t> r_cc_test_m2p_sign; 612 sc_signal<bool> r_cc_test_clack_req; 613 sc_signal<uint64_t> r_cc_test_clack_sign; 614 sc_signal<int> r_cc_test_to_dcache_result; 576 615 577 616 //////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.