aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-10-28 00:08:20 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-10-28 00:08:20 +0200
commit1cbbafd61cc912015925e69016b357e4f0a800cc (patch)
tree91ad883c496554bed497a2660241c99bec1b049b /src
parent5a26dd5ccb934a1b03c02761c47eaebdf13df9dc (diff)
downloadsysc-playground-1cbbafd61cc912015925e69016b357e4f0a800cc.tar.gz
sysc-playground-1cbbafd61cc912015925e69016b357e4f0a800cc.zip
lt_bus: update example to invalidate full u64 addr range to see limiting by mapped range
Diffstat (limited to 'src')
-rw-r--r--src/lt_bus.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lt_bus.cc b/src/lt_bus.cc
index 069e01f..443feb2 100644
--- a/src/lt_bus.cc
+++ b/src/lt_bus.cc
@@ -19,8 +19,8 @@ struct target : public sc_core::sc_module {
tx.is_write(), tx.is_read());
tx.set_response_status(tlm::TLM_OK_RESPONSE);
- CLOGM(YELLOW, "invalidate 0x00 - 0x10");
- p_sock->invalidate_direct_mem_ptr(0, 0x10);
+ CLOGM(YELLOW, "invalidate 0x00 - 0xff..ff");
+ p_sock->invalidate_direct_mem_ptr(0, -1ull);
}
};