clear req after sending
This commit is contained in:
BIN
hw/unit_tests/cache/obj_dir/VVX_cache
vendored
BIN
hw/unit_tests/cache/obj_dir/VVX_cache
vendored
Binary file not shown.
BIN
hw/unit_tests/cache/obj_dir/testbench.o
vendored
BIN
hw/unit_tests/cache/obj_dir/testbench.o
vendored
Binary file not shown.
8
hw/unit_tests/cache/testbench.cpp
vendored
8
hw/unit_tests/cache/testbench.cpp
vendored
@@ -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();
|
||||
}
|
||||
|
||||
12729
hw/unit_tests/cache/trace.vcd
vendored
12729
hw/unit_tests/cache/trace.vcd
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user