big rename, global/search/replace of ready_o with o_ready and the other
[soc.git] / src / soc / config / test / test_fetch.py
index df9caf68871a7100950ec748a5c27b30d4ce3399..5c4097a54fe963bb3b4f2ddf6ad66b90fcef8933 100644 (file)
@@ -15,8 +15,8 @@ sys.setrecursionlimit(10**6)
 
 def read_from_addr(dut, addr):
     yield dut.a_pc_i.eq(addr)
-    yield dut.a_valid_i.eq(1)
-    yield dut.f_valid_i.eq(1)
+    yield dut.a_i_valid.eq(1)
+    yield dut.f_i_valid.eq(1)
     yield dut.a_stall_i.eq(1)
     yield
     yield dut.a_stall_i.eq(0)
@@ -26,8 +26,8 @@ def read_from_addr(dut, addr):
         yield
     res = (yield dut.f_instr_o)
 
-    yield dut.a_valid_i.eq(0)
-    yield dut.f_valid_i.eq(0)
+    yield dut.a_i_valid.eq(0)
+    yield dut.f_i_valid.eq(0)
     yield
     return res