Changeset 918
- Timestamp:
- Jan 6, 2015, 4:40:18 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RWT/modules/vci_mem_cache/caba/source/src/vci_mem_cache.cpp
r909 r918 692 692 uint8_t req_y = (req_srcid >> (srcid_width - m_x_width - m_y_width)) & ((1 << m_y_width) - 1); 693 693 694 return abs(m_x_self - req_x) + abs(m_y_self - req_y) ;694 return abs(m_x_self - req_x) + abs(m_y_self - req_y) + 1; 695 695 } 696 696 … … 700 700 ///////////////////////////////////////////////////// 701 701 { 702 return req_distance(req_srcid) == 0;702 return req_distance(req_srcid) == 1; 703 703 } 704 704
Note: See TracChangeset
for help on using the changeset viewer.