restore modification to caller.py from reversion of div (use of pia
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 24 Jul 2020 10:35:00 +0000 (11:35 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 24 Jul 2020 10:35:00 +0000 (11:35 +0100)
not properly documented)

src/soc/decoder/isa/caller.py

index 1dd24aeb9595db923cbade2dd23a2140401dcb76..b85843ec8148ba0f9f3d7f35a79c7da9b54b7b85 100644 (file)
@@ -475,6 +475,7 @@ class ISACaller:
 
     def handle_comparison(self, outputs):
         out = outputs[0]
+        assert isinstance(out, SelectableInt)
         print("handle_comparison", out.bits, hex(out.value))
         # TODO - XXX *processor* in 32-bit mode
         # https://bugs.libre-soc.org/show_bug.cgi?id=424