add comment about LD/ST exception needs copying into PowerDecoder2
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 9 May 2021 15:48:29 +0000 (16:48 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 9 May 2021 15:48:29 +0000 (16:48 +0100)
src/soc/simple/issuer.py

index cd347aad0361497d7160267a052876f216ec6c5c..477e81a43d9d775ceec73b2d6e1d6607b4519a2f 100644 (file)
@@ -756,6 +756,8 @@ class TestIssuerInternal(Elaboratable):
                     comb += exec_pc_ready_i.eq(1)
                     # see https://bugs.libre-soc.org/show_bug.cgi?id=636
                     #with m.If(exec_pc_valid_o & exc_happened):
+                    #    probably something like this:
+                    #    sync += pdecode2.ldst_exc.eq(core.fus.get_exc("ldst0")
                     # TODO: the exception info needs to be blatted
                     # into pdecode.ldst_exc, and the instruction "re-run".
                     # when ldst_exc.happened is set, the PowerDecoder2