- Timestamp:
- Sep 14, 2013, 4:13:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_mem_cache/caba/source/src/vci_mem_cache.cpp
r523 r524 2752 2752 2753 2753 if (not sc_success) r_write_fsm = WRITE_RSP; 2754 else r_write_fsm = WRITE_DIR_LOCK;2754 else r_write_fsm = WRITE_DIR_LOCK; 2755 2755 } 2756 2756 else 2757 2757 { 2758 2758 // We enter here if it is a SW command or an already tested SC command 2759 #define L2 soclib::common::uint32_log2 2759 2760 addr_t min = r_write_address.read(); 2760 addr_t max = r_write_address.read() + r_write_word_count.read() - 1; 2761 addr_t max = r_write_address.read() + 2762 ((r_write_word_count.read()-1) << L2(vci_param_int::B)); 2763 #undef L2 2761 2764 2762 2765 m_llsc_table.sw(min, max);
Note: See TracChangeset
for help on using the changeset viewer.