From: Tobias Platen Date: Mon, 3 Aug 2020 18:37:47 +0000 (+0200) Subject: LDSTSplitter: report exception X-Git-Tag: semi_working_ecp5~466 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16f3cca9062314475a9039c96ffa1bc97122a408;p=soc.git LDSTSplitter: report exception --- 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