rename unit test function in ld/st compalu_multi
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 10 Jun 2020 16:38:58 +0000 (17:38 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 10 Jun 2020 16:38:58 +0000 (17:38 +0100)
src/soc/experiment/compldst_multi.py

index 1404bcea1e69d8e3ba3d66187b6ca4fb02a98db8..851bc858f6ff09dcef867a6faf4338994f9c094b 100644 (file)
@@ -616,7 +616,7 @@ def load(dut, src1, src2, imm, imm_ok=True, update=False, zero_a=False):
     return data, addr
 
 
-def scoreboard_sim(dut):
+def ldst_sim(dut):
 
     ###################
     # immediate version
@@ -673,7 +673,7 @@ def test_scoreboard():
     with open("test_ldst_comp.il", "w") as f:
         f.write(vl)
 
-    run_simulation(dut, scoreboard_sim(dut), vcd_name='test_ldst_comp.vcd')
+    run_simulation(dut, ldst_sim(dut), vcd_name='test_ldst_comp.vcd')
 
 
 class TestLDSTCompUnitRegSpec(LDSTCompUnit):
@@ -700,7 +700,7 @@ def test_scoreboard_regspec():
     with open("test_ldst_comp.il", "w") as f:
         f.write(vl)
 
-    run_simulation(dut, scoreboard_sim(dut), vcd_name='test_ldst_regspec.vcd')
+    run_simulation(dut, ldst_sim(dut), vcd_name='test_ldst_regspec.vcd')
 
 
 if __name__ == '__main__':