disable unused cpu params pc_i and pc_i_ok
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 23 Dec 2021 16:23:34 +0000 (16:23 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 23 Dec 2021 16:23:39 +0000 (16:23 +0000)
libresoc/core.py

index ec1c02995374a9861eb002c52a8c3d2ef44502ff..561122f3cf22a8303800f934cd24a7f21450b9f1 100644 (file)
@@ -247,6 +247,10 @@ class LibreSoC(CPU):
             o_pc_o             = Signal(64), # not connected
         )
 
+        # these have been taken out
+        #self.cpu_params['i_pc_i'] = Signal(64)
+        #self.cpu_params['i_pc_i_ok'] = 0
+
         if irq_en:
             # interrupts
             self.cpu_params['i_int_level_i'] = self.interrupt
@@ -269,8 +273,6 @@ class LibreSoC(CPU):
                 i_dmi_we_i            = self.dmi_wr,
                 o_dmi_ack_o           = self.dmi_ack,
             ))
-            self.cpu_params['i_pc_i'] = Signal(64)
-            self.cpu_params['i_pc_i_ok'] = 0
 
         # add clock select, pll output
         if "ls180" in variant and "pll" not in variant: