From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
Date: Thu, 23 Dec 2021 16:23:34 +0000 (+0000)
Subject: disable unused cpu params pc_i and pc_i_ok
X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e42e3d8a08281c1131282a99bd70a929e1f30b8d;p=libresoc-litex.git

disable unused cpu params pc_i and pc_i_ok
---

diff --git a/libresoc/core.py b/libresoc/core.py
index ec1c029..561122f 100644
--- a/libresoc/core.py
+++ b/libresoc/core.py
@@ -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: