clear req after sending

This commit is contained in:
trmontgomery
2020-07-13 23:54:33 -04:00
parent 172e6d09af
commit 2fc65f4a7d
4 changed files with 893 additions and 11844 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -20,9 +20,9 @@ int main(int argc, char **argv)
cachesim.set_core_req();
for (int i = 0; i < 100; ++i){
/*if(i == 1){
if(i == 1){
cachesim.clear_req();
}*/
}
cachesim.step();
cachesim.get_core_rsp();
}
@@ -30,11 +30,11 @@ int main(int argc, char **argv)
// read block
cachesim.set_core_req2();
for (int i = 0; i < 100; ++i){
/*if(i == 1){
if(i == 1){
//read block from cache
cachesim.clear_req();
}*/
}
cachesim.step();
cachesim.get_core_rsp();
}

File diff suppressed because it is too large Load Diff