annoying, yet more typos
[soc.git] / src / soc / decoder / isa / caller.py
index 1dd24aeb9595db923cbade2dd23a2140401dcb76..c7d0784f04eb4c3cb2591a895f52a9494cf4e1ce 100644 (file)
@@ -475,6 +475,8 @@ class ISACaller:
 
     def handle_comparison(self, outputs):
         out = outputs[0]
+        assert isinstance(out, SelectableInt), \
+                          "out zero not a SelectableInt %s" % repr(outputs)
         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