diff options
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/lt_bus.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/models/lt_bus.h b/src/models/lt_bus.h index 37cfe84..c533c50 100644 --- a/src/models/lt_bus.h +++ b/src/models/lt_bus.h @@ -80,9 +80,9 @@ class lt_bus : public sc_core::sc_module { m_mappings.push_back({addr, id}); } - // -- DUMP ------------------------------------------------------------------- + // -- SHOW_MMAP -------------------------------------------------------------- - void dump() const { + void show_mmap() const { // Dump memory map. for (const auto& map : m_mappings) { std::printf("%08lx - %08lx :[%2ld] %s\n", map.addr.start, map.addr.end, @@ -125,9 +125,7 @@ class lt_bus : public sc_core::sc_module { // -- TLM_FW_TRANSPORT_IF ---------------------------------------------------- - void b_transport(usize id, - tlm::tlm_generic_payload& tx, - sc_core::sc_time& t) { + void b_transport(usize, tlm::tlm_generic_payload& tx, sc_core::sc_time& t) { if (const auto r = decode(tx)) { const auto start = tx.get_address(); assert(r.start <= start); |