From: Luke Kenneth Casson Leighton Date: Wed, 3 Mar 2021 17:45:55 +0000 (+0000) Subject: add debug strings X-Git-Tag: convert-csv-opcode-to-binary~125 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6618685df02a59187a5bad426917eeb0fac552b7;p=soc.git add debug strings --- diff --git a/src/soc/decoder/isa/caller.py b/src/soc/decoder/isa/caller.py index acaac1f7..1190831d 100644 --- a/src/soc/decoder/isa/caller.py +++ b/src/soc/decoder/isa/caller.py @@ -962,9 +962,9 @@ class ISACaller: # clear trap (trap) NIA self.trap_nia = None - print(inputs) + print("inputs", inputs) results = info.func(self, *inputs) - print(results) + print("results", results) # "inject" decorator takes namespace from function locals: we need to # overwrite NIA being overwritten (sigh)