From b716fdae5ef9b76920fdd2bcd8aab97d9cde90a0 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Sun, 29 Oct 2023 18:05:02 +0100 Subject: build: enable warnings and fix existing warnings --- src/lt_bus.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lt_bus.cc') diff --git a/src/lt_bus.cc b/src/lt_bus.cc index 443feb2..a1637db 100644 --- a/src/lt_bus.cc +++ b/src/lt_bus.cc @@ -14,7 +14,7 @@ struct target : public sc_core::sc_module { tlm_utils::simple_target_socket p_sock{"sock"}; private: - void b_transport(tlm::tlm_generic_payload& tx, sc_core::sc_time& t) { + void b_transport(tlm::tlm_generic_payload& tx, sc_core::sc_time&) { CLOGM(YELLOW, "transport 0x%llx w: %d r: %d", tx.get_address(), tx.is_write(), tx.is_read()); tx.set_response_status(tlm::TLM_OK_RESPONSE); @@ -92,7 +92,7 @@ extern "C" int sc_main(int, char*[]) { bus.attach_initiator(init1.p_sock); - bus.dump(); + bus.show_mmap(); sc_core::sc_start(); -- cgit v1.2.3