Ignore:
Timestamp:
Oct 27, 2014, 12:29:15 PM (10 years ago)
Author:
cfuguet
Message:

reconf: introducing the CC_TEST FSM in the vci_mem_cache

  • This FSM receives commands from the CC_RECEIVE FSM and acknowledge them through the CLEANUP and CC_SEND FSM.
  • This commit is incomplete. The communication between the CC_TEST FSM and the CLEANUP and CC_SEND FSMs is not completely implemented.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reconfiguration/modules/vci_mem_cache/caba/source/include/vci_mem_cache.h

    r862 r865  
    108108      };
    109109
     110      /* States of the CC_TEST fsm */
     111      enum cc_test_fsm_state_e
     112      {
     113        CC_TEST_IDLE,
     114        CC_TEST_SEND,
     115        CC_TEST_WAIT
     116      };
     117
    110118      /* States of the DSPIN_TGT fsm */
    111119      enum cc_receive_fsm_state_e
     
    114122        CC_RECEIVE_CLEANUP,
    115123        CC_RECEIVE_CLEANUP_EOP,
    116         CC_RECEIVE_MULTI_ACK
     124        CC_RECEIVE_MULTI_ACK,
     125        CC_RECEIVE_TEST,
     126        CC_RECEIVE_TEST_EOP
    117127      };
    118128
     
    611621      GenericFifo<uint64_t>  m_cc_receive_to_multi_ack_fifo;
    612622
     623      // Fifo between CC_RECEIVE fsm and MULTI_ACK fsm
     624      GenericFifo<uint64_t>  m_cc_receive_to_cc_test_fifo;
     625
    613626      // Buffer between TGT_CMD fsm and TGT_RSP fsm
    614627      // (segmentation violation response request)
     
    969982
    970983      ////////////////////////////////////////////////////
     984      // Registers controlled by CC_TEST fsm
     985      ////////////////////////////////////////////////////
     986
     987      sc_signal<int>      r_cc_test_fsm;
     988
     989      // Buffer between CC_TEST fsm and CC_SEND fsm
     990      sc_signal<bool>     r_cc_test_to_cc_send_req;
     991
     992      // Buffer between CC_TEST fsm and CLEANUP fsm
     993      sc_signal<bool>     r_cc_test_to_cleanup_req;
     994
     995      ////////////////////////////////////////////////////
    971996      // Registers controlled by ALLOC_DIR fsm
    972997      ////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.