anooother valid_o to convert to o_valid
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 31 Aug 2021 20:27:08 +0000 (21:27 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 31 Aug 2021 20:27:16 +0000 (21:27 +0100)
src/soc/fu/compunits/test/test_compunit.py

index 5ed526ec9322fc18a3614751bc0aaf7ab90c3276..9882a47ee1306cc59cbe382a2c77e44e054d71f1 100644 (file)
@@ -88,8 +88,8 @@ def get_cu_outputs(cu, code):
     # pipelines (or FSMs) the write mask is only valid at that time.
     if hasattr(cu, "alu"): # ALU CompUnits
         while True:
-            valid_o = yield cu.alu.n.valid_o
-            if valid_o:
+            o_valid = yield cu.alu.n.o_valid
+            if o_valid:
                 break
             yield
     else: # LDST CompUnit