From 7e3d314651634e031bd4b18c8482c7f5838dac1d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 25 May 2019 23:21:14 +0100 Subject: [PATCH] get fake branch delay time working --- src/experiment/score6600.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/experiment/score6600.py b/src/experiment/score6600.py index 1cc43dcc..9f7776d5 100644 --- a/src/experiment/score6600.py +++ b/src/experiment/score6600.py @@ -53,7 +53,7 @@ class CompUnits(Elaboratable): # Branch ALU and CU self.bgt = BranchALU(self.rwid) - self.br1 = ComputationUnitNoDelay(self.rwid, 2, self.bgt) + self.br1 = ComputationUnitNoDelay(self.rwid, 3, self.bgt) def elaborate(self, platform): m = Module() @@ -78,7 +78,7 @@ class CompUnits(Elaboratable): comb += comp2.oper_i.eq(Const(1, 2)) # op=sub comb += comp3.oper_i.eq(Const(2, 2)) # op=mul comb += comp4.oper_i.eq(Const(3, 2)) # op=shf - comb += br1.oper_i.eq(Const(0, 2)) # op=bgt + comb += br1.oper_i.eq(Const(4, 3)) # op=bgt go_rd_l = [] go_wr_l = [] -- 2.30.2