add printout showing exception output from FUs
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 4 May 2021 15:56:06 +0000 (16:56 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 4 May 2021 15:56:06 +0000 (16:56 +0100)
src/soc/fu/compunits/compunits.py

index 930fd1473529a1ebe5056114d28e59900d646cfc..bdb0847dd832be7d026a6140ef7e113759090a9d 100644 (file)
@@ -289,6 +289,7 @@ class AllFunctionUnits(Elaboratable):
         self.excs = {}
         for name, alu in self.fus.items():
             if hasattr(alu, "exc_o"):
+                print ("FU exceptions", name, type(alu.exc_o), alu.exc_o)
                 self.excs[name] = alu.exc_o
 
     def get_exc(self, name):