update code-comments
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 9 May 2021 14:34:55 +0000 (15:34 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 9 May 2021 14:34:55 +0000 (15:34 +0100)
src/soc/experiment/pimem.py
src/soc/fu/ldst/loadstore.py

index b051edd1624c2dbffa0e1dcf371a1a90fe178d4d..5177207339be5c7e6183fb329e71b7440edf44ba 100644 (file)
@@ -12,6 +12,7 @@ Links:
 
 * https://bugs.libre-soc.org/show_bug.cgi?id=216
 * https://libre-soc.org/3d_gpu/architecture/memory_and_cache/
+* https://bugs.libre-soc.org/show_bug.cgi?id=465 - exception handling
 
 """
 
@@ -296,7 +297,7 @@ class PortInterfaceBase(Elaboratable):
             comb += adrok_l.r.eq(1)     # address reset
             comb += st_done.r.eq(1)     # store done reset
 
-        # monitor for an exception or the completion of LD.
+        # monitor for an exception, clear busy immediately
         with m.If(self.pi.exc_o.happened):
             comb += busy_l.r.eq(1)
 
index 5c43ebc66cef05c7871e1736e9c1e3dd2a774ac8..0397f87d1488c812b0b40bca31132873d2fd920b 100644 (file)
@@ -1,3 +1,13 @@
+"""LoadStore1 FSM.
+
+based on microwatt loadstore1.vhdl
+
+Links:
+
+* https://bugs.libre-soc.org/show_bug.cgi?id=465
+
+"""
+
 from nmigen import (Elaboratable, Module, Signal, Shape, unsigned, Cat, Mux,
                     Record, Memory,
                     Const)