...
 
Commits (2)
This diff is collapsed.
......@@ -8,6 +8,14 @@ always @(inst) begin
//$display("result is %d", result);
end
else if (alufun == 1'h1) begin
result <= rs1 << rs2;
end
else if (alufun == 7'h6) begin
result <= rs1 | rs2;
end
else begin
result <= rs2;
end
......