Changeset 187 for trunk/modules/vci_block_device_tsar_v4
- Timestamp:
- Jan 7, 2012, 7:29:32 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_block_device_tsar_v4/caba/source/include/vci_block_device_tsar_v4.h
r164 r187 92 92 93 93 // Registers 94 sc_signal<int> r_target_fsm; // target fsm state register95 sc_signal<int> r_initiator_fsm; // initiator fsm state register96 sc_signal<bool> r_irq_enable; // default value is true97 sc_signal<uint32_t> r_nblocks; // number of blocks to be transfered98 sc_signal<uint32_t> r_buf_address; // memory buffer address99 sc_signal<uint32_t> r_lba; // first block index100 sc_signal<bool> r_read; // requested operation101 sc_signal<uint32_t> r_flit_count; // flit counter (in a burst)102 sc_signal<uint32_t> r_burst_count; // burst counter (in a block)103 sc_signal<uint32_t> r_block_count; // block counter (in a transfer)104 sc_signal<uint32_t> r_latency_count; // latency access (for each block)105 sc_signal<bool> r_go; // transmit command from T_FSM to M_FSM94 sc_signal<int> r_target_fsm; // target fsm state register 95 sc_signal<int> r_initiator_fsm; // initiator fsm state register 96 sc_signal<bool> r_irq_enable; // default value is true 97 sc_signal<uint32_t> r_nblocks; // number of blocks to be transfered 98 sc_signal<uint32_t> r_buf_address; // memory buffer address 99 sc_signal<uint32_t> r_lba; // first block index 100 sc_signal<bool> r_read; // requested operation 101 sc_signal<uint32_t> r_flit_count; // flit counter (in a burst) 102 sc_signal<uint32_t> r_burst_count; // burst counter (in a block) 103 sc_signal<uint32_t> r_block_count; // block counter (in a transfer) 104 sc_signal<uint32_t> r_latency_count; // latency access (for each block) 105 sc_signal<bool> r_go; // transmit command from T_FSM to M_FSM 106 106 sc_signal<sc_dt::sc_uint<vci_param::S> > r_srcid; // save srcid 107 107 sc_signal<sc_dt::sc_uint<vci_param::T> > r_trdid; // save trdid 108 108 sc_signal<sc_dt::sc_uint<vci_param::P> > r_pktid; // save pktid 109 109 110 uint32_t* m_local_buffer; // capacity is one block (block_size bytes)110 uint32_t* m_local_buffer; // capacity is one block (block_size bytes) 111 111 112 112 // structural parameters 113 soclib::common::Segment m_segment; // segment associated to target114 uint32_t 115 int m_fd; // File descriptor116 uint64_t m_device_size; // Total number of blocks117 const uint32_t m_flits_per_block; // number of flits in a block118 const uint32_t m_flits_per_burst; // number of flits in a burst119 const uint32_t m_bursts_per_block; // number of bursts in a block120 const uint32_t m_latency; // device latency113 soclib::common::Segment m_segment; // segment associated to target 114 uint32_t m_srcid; // initiator index 115 int m_fd; // File descriptor 116 uint64_t m_device_size; // Total number of blocks 117 const uint32_t m_flits_per_block; // number of flits in a block 118 const uint32_t m_flits_per_burst; // number of flits in a burst 119 const uint32_t m_bursts_per_block; // number of bursts in a block 120 const uint32_t m_latency; // device latency 121 121 122 122 // methods
Note: See TracChangeset
for help on using the changeset viewer.