From 8d04dd0537547bd4243762d74047ec7d90c1173b Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 29 Sep 2022 18:44:23 -0700 Subject: [PATCH] allow logging function to be overridden for Mem.log_fancy --- src/openpower/decoder/isa/mem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/decoder/isa/mem.py b/src/openpower/decoder/isa/mem.py index 6e222627..9132c357 100644 --- a/src/openpower/decoder/isa/mem.py +++ b/src/openpower/decoder/isa/mem.py @@ -153,7 +153,7 @@ class Mem: return res def log_fancy(self, *, kind=LogKind.Default, name="Memory", - log2_line_size=4, log2_column_chunk_size=3): + log2_line_size=4, log2_column_chunk_size=3, log=log): line_size = 1 << log2_line_size subline_mask = line_size - 1 column_chunk_size = 1 << log2_column_chunk_size -- 2.30.2