disable fpissue
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 8 May 2019 11:06:55 +0000 (12:06 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 8 May 2019 11:06:55 +0000 (12:06 +0100)
src/scoreboard/issue_unit.py

index a677bd6eb63be5d1abd7d61b7e35019333a8de96..d928a402cb5d99d61ffc02438da99f6b9eac52f4 100644 (file)
@@ -41,6 +41,9 @@ class IssueUnit(Elaboratable):
         m = Module()
         m.submodules.dest_d = dest_d = Decoder(self.reg_width)
 
+        if self.n_insns == 0:
+            return m
+
         # temporaries
         waw_stall = Signal(reset_less=True)
         fu_stall = Signal(reset_less=True)