From 16f3cca9062314475a9039c96ffa1bc97122a408 Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Mon, 3 Aug 2020 20:37:47 +0200 Subject: [PATCH] LDSTSplitter: report exception --- src/soc/experiment/pimem.py | 1 + src/soc/scoreboard/addr_split.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/soc/experiment/pimem.py b/src/soc/experiment/pimem.py index 3626b2e5..516c9c0c 100644 --- a/src/soc/experiment/pimem.py +++ b/src/soc/experiment/pimem.py @@ -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 diff --git a/src/soc/scoreboard/addr_split.py b/src/soc/scoreboard/addr_split.py index aa99f63c..c770c92e 100644 --- a/src/soc/scoreboard/addr_split.py +++ b/src/soc/scoreboard/addr_split.py @@ -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 -- 2.30.2