- Timestamp:
- Sep 19, 2013, 4:01:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_mem_cache/caba/source/include/vci_mem_cache.h
r527 r530 80 80 { 81 81 TGT_CMD_IDLE, 82 TGT_CMD_ERROR,83 82 TGT_CMD_READ, 84 83 TGT_CMD_WRITE, 85 84 TGT_CMD_CAS, 85 TGT_CMD_ERROR, 86 86 TGT_CMD_CONFIG 87 87 }; … … 90 90 enum tgt_rsp_fsm_state_e 91 91 { 92 TGT_RSP_CONFIG_IDLE,93 TGT_RSP_TGT_CMD_IDLE,94 92 TGT_RSP_READ_IDLE, 95 93 TGT_RSP_WRITE_IDLE, … … 98 96 TGT_RSP_MULTI_ACK_IDLE, 99 97 TGT_RSP_CLEANUP_IDLE, 100 TGT_RSP_CONFIG ,101 TGT_RSP_TGT_CMD ,98 TGT_RSP_CONFIG_IDLE, 99 TGT_RSP_TGT_CMD_IDLE, 102 100 TGT_RSP_READ, 103 101 TGT_RSP_WRITE, … … 105 103 TGT_RSP_XRAM, 106 104 TGT_RSP_MULTI_ACK, 107 TGT_RSP_CLEANUP 105 TGT_RSP_CLEANUP, 106 TGT_RSP_CONFIG, 107 TGT_RSP_TGT_CMD 108 108 }; 109 109 … … 120 120 enum cc_send_fsm_state_e 121 121 { 122 CC_SEND_CONFIG_IDLE,123 122 CC_SEND_XRAM_RSP_IDLE, 124 123 CC_SEND_WRITE_IDLE, 125 124 CC_SEND_CAS_IDLE, 126 CC_SEND_CONFIG_INVAL_HEADER, 127 CC_SEND_CONFIG_INVAL_NLINE, 128 CC_SEND_CONFIG_BRDCAST_HEADER, 129 CC_SEND_CONFIG_BRDCAST_NLINE, 125 CC_SEND_CONFIG_IDLE, 130 126 CC_SEND_XRAM_RSP_BRDCAST_HEADER, 131 127 CC_SEND_XRAM_RSP_BRDCAST_NLINE, … … 142 138 CC_SEND_CAS_UPDT_NLINE, 143 139 CC_SEND_CAS_UPDT_DATA, 144 CC_SEND_CAS_UPDT_DATA_HIGH 140 CC_SEND_CAS_UPDT_DATA_HIGH, 141 CC_SEND_CONFIG_INVAL_HEADER, 142 CC_SEND_CONFIG_INVAL_NLINE, 143 CC_SEND_CONFIG_BRDCAST_HEADER, 144 CC_SEND_CONFIG_BRDCAST_NLINE 145 145 }; 146 146 … … 317 317 { 318 318 ALLOC_DIR_RESET, 319 ALLOC_DIR_CONFIG,320 319 ALLOC_DIR_READ, 321 320 ALLOC_DIR_WRITE, 322 321 ALLOC_DIR_CAS, 323 322 ALLOC_DIR_CLEANUP, 324 ALLOC_DIR_XRAM_RSP 323 ALLOC_DIR_XRAM_RSP, 324 ALLOC_DIR_CONFIG 325 325 }; 326 326 … … 333 333 ALLOC_TRT_XRAM_RSP, 334 334 ALLOC_TRT_IXR_RSP, 335 ALLOC_TRT_ CONFIG,336 ALLOC_TRT_ IXR_CMD335 ALLOC_TRT_IXR_CMD, 336 ALLOC_TRT_CONFIG 337 337 }; 338 338 … … 470 470 soclib::caba::DspinOutput<dspin_out_width> p_dspin_m2p; 471 471 soclib::caba::DspinOutput<dspin_out_width> p_dspin_clack; 472 473 #if MONITOR_MEMCACHE_FSM == 1 474 sc_out<int> p_read_fsm; 475 sc_out<int> p_write_fsm; 476 sc_out<int> p_xram_rsp_fsm; 477 sc_out<int> p_cas_fsm; 478 sc_out<int> p_cleanup_fsm; 479 sc_out<int> p_config_fsm; 480 sc_out<int> p_alloc_heap_fsm; 481 sc_out<int> p_alloc_dir_fsm; 482 sc_out<int> p_alloc_trt_fsm; 483 sc_out<int> p_alloc_upt_fsm; 484 sc_out<int> p_alloc_ivt_fsm; 485 sc_out<int> p_tgt_cmd_fsm; 486 sc_out<int> p_tgt_rsp_fsm; 487 sc_out<int> p_ixr_cmd_fsm; 488 sc_out<int> p_ixr_rsp_fsm; 489 sc_out<int> p_cc_send_fsm; 490 sc_out<int> p_cc_receive_fsm; 491 sc_out<int> p_multi_ack_fsm; 492 #endif 472 493 473 494 VciMemCache(
Note: See TracChangeset
for help on using the changeset viewer.