minor fixes on alu
This commit is contained in:
@@ -47,6 +47,7 @@ always @(*) begin
|
|||||||
alu_out = tmpOut;
|
alu_out = tmpOut;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
//TODO: improve this part using increment/decrement logic
|
||||||
if (alu_out < 0)
|
if (alu_out < 0)
|
||||||
flag = 0; // negative flag
|
flag = 0; // negative flag
|
||||||
else if (alu_out = 0)
|
else if (alu_out = 0)
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
import alu::*;
|
||||||
Reference in New Issue
Block a user