add trap function unit into compunits
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 2 Jul 2020 17:59:16 +0000 (18:59 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 2 Jul 2020 17:59:16 +0000 (18:59 +0100)
src/soc/fu/compunits/compunits.py

index 6a0b3d9233f3e698725cf6e981291f8b9473c8f9..2fadd8c58ca00df8386d0cae756f8ab57a53cd63 100644 (file)
@@ -168,6 +168,7 @@ class AllFunctionUnits(Elaboratable):
         for (name, qty, kls) in (('alu', 1, ALUFunctionUnit),
                                  ('cr', 1, CRFunctionUnit),
                                  ('branch', 1, BranchFunctionUnit),
+                                 ('trap', 1, TrapFunctionUnit),
                                  ('logical', 1, LogicalFunctionUnit),
                                  ('shiftrot', 1, ShiftRotFunctionUnit),
                                 ):