mirror of
https://github.com/supleed2/ELEC50010-IAC-CW.git
synced 2024-12-23 05:45:47 +00:00
Changed From ALUZero to Cond
This commit is contained in:
parent
a56410ceae
commit
1f1cb53352
|
@ -173,10 +173,10 @@ module mips_cpu_alu(
|
||||||
|
|
||||||
BNE: begin
|
BNE: begin
|
||||||
if A<=0 begin
|
if A<=0 begin
|
||||||
ALUOut = 0;
|
Cond = 1;
|
||||||
end
|
end
|
||||||
else begin
|
else begin
|
||||||
ALUOut = ALUOut;
|
Cond = 0;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue