From 0e387cdcfb365c988cd2b04da6ef05346f1635c1 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 12 May 2019 17:37:25 +0100 Subject: [PATCH] experimenting / debugging score6600 --- src/experiment/score6600.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/experiment/score6600.py b/src/experiment/score6600.py index 27672774..3b2f2009 100644 --- a/src/experiment/score6600.py +++ b/src/experiment/score6600.py @@ -417,8 +417,8 @@ def scoreboard_sim(dut, alusim): yield dut.int_store_i.eq(0) for i in range(1, dut.n_regs): - yield dut.intregs.regs[i].reg.eq(i) - alusim.setval(i, i) + yield dut.intregs.regs[i].reg.eq(i*2) + alusim.setval(i, i*2) yield yield @@ -452,8 +452,8 @@ def scoreboard_sim(dut, alusim): break if dest not in [src1, src2]: break - src1 = 7 - src2 = 1 + src1 = 1 + src2 = 4 dest = 1 op = randint(0, 1) -- 2.30.2