comment out addr_we_i, seems not to be used
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 16 Mar 2020 12:39:28 +0000 (12:39 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 16 Mar 2020 12:39:28 +0000 (12:39 +0000)
src/soc/scoreboard/addr_match.py
src/soc/scoreboard/memfu.py

index 3f48008aa8d7a3a318b999f120336254f635da79..895701cacbc4e95210ac3b49a0a2d15e4bfec39f 100644 (file)
@@ -47,7 +47,7 @@ class PartialAddrMatch(Elaboratable):
         self.bitwid = bitwid
         # inputs
         self.addrs_i = Array(Signal(bitwid, name="addr") for i in range(n_adr))
-        self.addr_we_i = Signal(n_adr, reset_less=True) # write-enable
+        #self.addr_we_i = Signal(n_adr, reset_less=True) # write-enable
         self.addr_en_i = Signal(n_adr, reset_less=True) # address latched in
         self.addr_rs_i = Signal(n_adr, reset_less=True) # address deactivated
 
@@ -98,7 +98,7 @@ class PartialAddrMatch(Elaboratable):
 
     def __iter__(self):
         yield from self.addrs_i
-        yield self.addr_we_i
+        #yield self.addr_we_i
         yield self.addr_en_i
         yield from self.addr_nomatch_a_o
         yield self.addr_nomatch_o
@@ -228,7 +228,7 @@ class PartialAddrBitmap(PartialAddrMatch):
     def __iter__(self):
         yield from self.faddrs_i
         yield from self.len_i
-        yield self.addr_we_i
+        #yield self.addr_we_i
         yield self.addr_en_i
         yield from self.addr_nomatch_a_o
         yield self.addr_nomatch_o
index 2989c8e0e3913ab7c6447ed548a7272af9cb722c..553ebb5e37c95bc7e05c6022b7252261f7fae507 100644 (file)
@@ -33,7 +33,7 @@ class MemFunctionUnits(Elaboratable):
         # address matching
         self.addrs_i = Array(Signal(self.bitwid, name="addrs_i%d" % i) \
                              for i in range(n_ldsts))
-        self.addr_we_i = Signal(n_ldsts) # write-enable for incoming address
+        #self.addr_we_i = Signal(n_ldsts) # write-enable for incoming address
         self.addr_en_i = Signal(n_ldsts) # address latched in
         self.addr_rs_i = Signal(n_ldsts) # address deactivated
 
@@ -93,7 +93,7 @@ class MemFunctionUnits(Elaboratable):
         # connect address matching: these get connected to the Addr CUs
         for i in range(self.n_ldsts):
             comb += intregdeps.addrs_i[i].eq(self.addrs_i[i])
-        comb += intregdeps.addr_we_i.eq(self.addr_we_i)
+        #comb += intregdeps.addr_we_i.eq(self.addr_we_i)
         comb += intregdeps.addr_en_i.eq(self.addr_en_i)
         comb += intregdeps.addr_rs_i.eq(self.addr_rs_i)
 
@@ -113,7 +113,7 @@ class MemFunctionUnits(Elaboratable):
         yield self.go_die_i
         yield self.fn_issue_i
         yield from self.addrs_i
-        yield self.addr_we_i
+        #yield self.addr_we_i
         yield self.addr_en_i
 
     def ports(self):