From: Luke Kenneth Casson Leighton Date: Thu, 25 Nov 2021 09:16:54 +0000 (+0000) Subject: add test pspec for scoremulti to work X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d77b1922070e0cc8a9bd31a7f376c7b208f2059;p=soc.git add test pspec for scoremulti to work --- diff --git a/src/soc/experiment/score6600_multi.py b/src/soc/experiment/score6600_multi.py index e2498ef5..ac7152e3 100644 --- a/src/soc/experiment/score6600_multi.py +++ b/src/soc/experiment/score6600_multi.py @@ -20,6 +20,8 @@ from soc.experiment.compldst_multi import LDSTCompUnit from soc.experiment.compldst_multi import CompLDSTOpSubset from soc.experiment.l0_cache import TstL0CacheBuffer +# for testing purposes +from soc.config.test.test_loadstore import TestMemPspec from soc.experiment.alu_hier import ALU, BranchALU from soc.fu.alu.alu_input_record import CompALUOpSubset @@ -436,7 +438,12 @@ class Scoreboard(Elaboratable): self.fpregs = RegFileArray(rwid, n_regs) # Memory (test for now) - self.l0 = TstL0CacheBuffer() + pspec = TestMemPspec(ldst_ifacetype='testpi', + addr_wid=48, + mask_wid=8, + reg_wid=64) + dut = TstL0CacheBuffer(pspec) + self.l0 = TstL0CacheBuffer(pspec) # issue q needs to get at these self.aluissue = IssueUnitGroup(2)