Changeset 75 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Victim_Pseudo_LRU_vhdl_body.cpp
- Timestamp:
- Jan 31, 2008, 6:46:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/src/Victim_Pseudo_LRU_vhdl_body.cpp
r42 r75 40 40 // Read the table 41 41 42 st ring access_address;42 std::string access_address; 43 43 44 44 if (_param._size_table>1) … … 58 58 for (int32_t k=(1<<j)-1; k<static_cast<int32_t>(_param._nb_entity-1); k+=(1<<(j+1))) 59 59 { 60 st ring cond = "";60 std::string cond = ""; 61 61 62 62 // Create the condition … … 70 70 } 71 71 72 st ring print_else = (k==(1<<j)-1)?" ":"else ";72 std::string print_else = (k==(1<<j)-1)?" ":"else "; 73 73 74 74 vhdl->set_body ("\t"+print_else+"access_entry_"+toString(i)+"("+toString(k)+") "+cond); … … 93 93 { 94 94 bool have_cond = false; 95 st ring cond = "";95 std::string cond = ""; 96 96 97 97 // condition to change the bit … … 126 126 { 127 127 bool have_cond = false; 128 st ring cond = "";128 std::string cond = ""; 129 129 130 130 // condition to change the bit … … 144 144 if (have_cond == true) 145 145 { 146 st ring update_address;146 std::string update_address; 147 147 148 148 if (_param._size_table>1) … … 170 170 for (uint32_t i=0; i<_param._nb_access; i++) 171 171 { 172 st ring access_address;172 std::string access_address; 173 173 174 174 if (_param._size_table>1) … … 185 185 for (uint32_t i=0; i<_param._nb_update; i++) 186 186 { 187 st ring update_address;187 std::string update_address; 188 188 189 189 if (_param._size_table>1)
Note: See TracChangeset
for help on using the changeset viewer.