From 11c71907f8e53684d9e93c46ba9bc3f81ffa7c64 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 10 Jun 2019 11:16:19 +0100 Subject: [PATCH] properly set the number of integer ALUs (2 at the moment) --- 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 78ea0974..5d67c05b 100644 --- a/src/experiment/score6600.py +++ b/src/experiment/score6600.py @@ -401,7 +401,7 @@ class Scoreboard(Elaboratable): self.fpregs = RegFileArray(rwid, n_regs) # issue q needs to get at these - self.aluissue = IssueUnitGroup(4) + self.aluissue = IssueUnitGroup(2) self.brissue = IssueUnitGroup(1) self.lsissue = IssueUnitGroup(1) # and these @@ -449,7 +449,7 @@ class Scoreboard(Elaboratable): # Int ALUs and BR ALUs n_int_alus = 5 - cua = CompUnitALUs(self.rwid, 3, n_alus=2) + cua = CompUnitALUs(self.rwid, 3, n_alus=self.aluissue.n_insns) cub = CompUnitBR(self.rwid, 3) # 1 BR ALUs # LDST Comp Units @@ -1089,10 +1089,10 @@ def scoreboard_sim(dut, alusim): # create some instructions (some random, some regression tests) instrs = [] - if False: + if True: instrs = create_random_ops(dut, 15, True, 4) - if True: # LD test (with immediate) + if False: # LD test (with immediate) instrs.append( (1, 2, 2, 0x10, 1, 20, (0, 0)) ) if False: -- 2.30.2