diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-10-28 00:08:20 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-10-28 00:08:20 +0200 |
commit | 1cbbafd61cc912015925e69016b357e4f0a800cc (patch) | |
tree | 91ad883c496554bed497a2660241c99bec1b049b | |
parent | 5a26dd5ccb934a1b03c02761c47eaebdf13df9dc (diff) | |
download | sysc-playground-1cbbafd61cc912015925e69016b357e4f0a800cc.tar.gz sysc-playground-1cbbafd61cc912015925e69016b357e4f0a800cc.zip |
lt_bus: update example to invalidate full u64 addr range to see limiting by mapped range
-rw-r--r-- | src/lt_bus.cc | 4 |
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); } }; |