LDSTSplitter: report exception
authorTobias Platen <tplaten@posteo.de>
Mon, 3 Aug 2020 18:37:47 +0000 (20:37 +0200)
committerTobias Platen <tplaten@posteo.de>
Mon, 3 Aug 2020 18:37:47 +0000 (20:37 +0200)
src/soc/experiment/pimem.py
src/soc/scoreboard/addr_split.py

index 3626b2e51ed95141d74cbb301641ab2a4803f682..516c9c0c2f6dbb4c18ba459bf875bfefcfc2b5b6 100644 (file)
@@ -105,6 +105,7 @@ class PortInterface(RecordObject):
         # addr is valid (TLB, L1 etc.)
         self.addr_ok_o = Signal(reset_less=True)
         self.addr_exc_o = Signal(reset_less=True)  # TODO, "type" of exception
+        self.exc_o = Signal(reset_less) # set by LDSTSplitter
 
         # LD/ST
         self.ld = Data(regwid, "ld_data_o")  # ok to be set by L0 Cache/Buf
index aa99f63c9c097c2e8b5723f7b8ad899db857bcd9..c770c92e9a0739b23a0d046362724e2f6e4f8c80 100644 (file)
@@ -78,7 +78,7 @@ class LDSTSplitter(Elaboratable):
         self.ld_data_o = LDData(dwidth, "ld_data_o") #port.ld
         self.st_data_i = LDData(dwidth, "st_data_i") #port.st
 
-        self.exc = Signal(reset_less=True) # pi.exc TODO
+        self.exc = pi.exc_o
 
         # TODO : create/connect two outgoing port interfaces