From 1f1cb5335228c6ea81b9914c64e34614649bd149 Mon Sep 17 00:00:00 2001 From: Ibrahim Date: Wed, 2 Dec 2020 14:33:42 +0000 Subject: [PATCH] Changed From ALUZero to Cond --- rtl/mips_cpu_alu.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtl/mips_cpu_alu.v b/rtl/mips_cpu_alu.v index d59ed08..309e44e 100644 --- a/rtl/mips_cpu_alu.v +++ b/rtl/mips_cpu_alu.v @@ -173,10 +173,10 @@ module mips_cpu_alu( BNE: begin if A<=0 begin - ALUOut = 0; + Cond = 1; end else begin - ALUOut = ALUOut; + Cond = 0; end end