comment clarify on core
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 4 Jun 2020 17:48:46 +0000 (18:48 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 4 Jun 2020 17:48:46 +0000 (18:48 +0100)
src/soc/simple/test/test_core.py

index 68357ac2a0a9e5a321ae6ef4c225fb9ac6893ced..da844e34332f14513236460e7e0863fc3e914ff1 100644 (file)
@@ -146,11 +146,11 @@ class TestRunner(FHDLTestCase):
                 gen = program.generate_instructions()
                 instructions = list(zip(gen, program.assembly.splitlines()))
 
-                # set up INT regfile, "direct" write from sim data
+                # set up INT regfile, "direct" write (bypass rd/write ports)
                 for i in range(32):
                     yield core.regs.int.regs[i].reg.eq(test.regs[i])
 
-                # set up XER
+                # set up XER.  "direct" write (bypass rd/write ports)
                 xregs = core.regs.xer
                 print ("sprs", test.sprs)
                 if special_sprs['XER'] in test.sprs: