Changeset 917 for trunk/modules/vci_mem_cache
- Timestamp:
- Jan 6, 2015, 11:07:53 AM (10 years ago)
- Location:
- trunk/modules/vci_mem_cache/caba/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_mem_cache/caba/source/include/vci_mem_cache.h
r836 r917 635 635 636 636 sc_signal<int> r_config_fsm; // FSM state 637 sc_signal<bool> r_config_lock; // lock protecting exclusive access638 637 sc_signal<int> r_config_cmd; // config request type 639 638 sc_signal<addr_t> r_config_address; // target buffer physical address -
trunk/modules/vci_mem_cache/caba/source/src/vci_mem_cache.cpp
r912 r917 1674 1674 m_cpt_ll_cost += 5 * req_distance(p_vci_tgt.srcid.read()); 1675 1675 } 1676 else { 1676 else 1677 { 1677 1678 if (is_local_req(p_vci_tgt.srcid.read())) 1678 1679 { … … 1711 1712 cmd_write_fifo_put = true; 1712 1713 // <Activity counters> 1713 if (p_vci_tgt.cmd.read() != vci_param_int::CMD_NOP) { 1714 if (p_vci_tgt.cmd.read() != vci_param_int::CMD_NOP) 1715 { 1714 1716 if (is_local_req(p_vci_tgt.srcid.read())) 1715 1717 { … … 1740 1742 } 1741 1743 } 1742 else { 1744 else 1745 { 1743 1746 // Writes 1744 1747 // (burst_size + 1 (CMD) + 1 (RSP)) flits VCI => 2 + burst_size + 1 flits dspin … … 2862 2865 m_heap.write_free_entry(heap_entry); 2863 2866 m_heap.write_free_ptr(r_read_next_ptr.read()); 2864 if (r_read_last_free.read()) { 2867 if (r_read_last_free.read()) 2868 { 2865 2869 m_heap.set_full(); 2866 2870 } … … 6328 6332 data_vector.push_back(m_cmd_cas_wdata_fifo.read()); 6329 6333 } 6330 else { 6334 else 6335 { 6331 6336 // unmodified words 6332 6337 data_vector.push_back(r_cas_data[i].read()); … … 7205 7210 m_cpt_cleanup_local++; 7206 7211 } 7207 else { 7212 else 7213 { 7208 7214 m_cpt_cleanup_remote++; 7209 7215 } … … 8841 8847 p_vci_tgt.rdata = r_xram_rsp_to_tgt_rsp_ll_key.read(); 8842 8848 } 8843 else { 8849 else 8850 { 8844 8851 // LL response second flit or READ response 8845 8852 p_vci_tgt.rdata = r_xram_rsp_to_tgt_rsp_data[r_tgt_rsp_cpt.read()].read();
Note: See TracChangeset
for help on using the changeset viewer.