Ignore:
Timestamp:
Dec 23, 2010, 3:31:25 PM (13 years ago)
Author:
choichil
Message:

Synthetic Initiator before being change for multiple requests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_synthetic_initator/caba/sources/include/vci_synthetic_initiator.h

    r115 r122  
    2626 *
    2727 * Maintainers: christophe.choichillon@lip6.fr
     28 */
     29 /*
     30     TODO : Adding the broadcast latency
    2831 */
    2932
     
    6467        VCI_BC_RECEIVE
    6568      };
    66       enum gen_fsm_state_e{
    67         A_IDLE,
    68         A_DATA
    69       };
     69//      enum gen_fsm_state_e{
     70//        A_IDLE,
     71//        A_DATA
     72//      };
    7073
    71       uint32_t     m_cpt_cycles;            // Counter of cycles
     74      uint64_t     m_cpt_cycles;            // Counter of cycles
    7275     
    7376
     
    132135      uint64_t                            m_start_latency1;         // Start time of sending packet wanted
    133136      uint64_t                            m_start_latency2;         // Start time of sending packet
    134 //      float                             m_rhos;                   // Effective Rho during the simulation
     137      uint64_t                            m_latency1;               // Average latency wanted
     138      uint64_t                            m_latency2;               // Average latency
    135139      size_t                              m_bc_nrsp;                // Expected number of responses for a broadcast command
    136140      addr_t                              m_address_to_send;        // Address to send the write command
    137141      uint32_t                            m_local_seed;
    138142
     143      uint64_t                            m_start_latency_bc;
     144      uint64_t                            m_latency_bc;
     145      uint64_t                            m_nb_bc;
     146
    139147      // Fifo transmitting date to the VCI FSM
    140148      GenericFifo<uint32_t>    m_date_fifo;
    141149
     150      //sc_signal<int>           r_cmd_fsm;
    142151      sc_signal<int>           r_vci_fsm;
     152
     153      sc_signal<int>           r_bc_rsp_fsm;
    143154       
    144155      sc_signal<size_t>        r_index;
Note: See TracChangeset for help on using the changeset viewer.