mirror of
https://github.com/supleed2/ELEC50010-IAC-CW.git
synced 2024-11-10 01:35:49 +00:00
Minor sytax corrections
This commit is contained in:
parent
56dfe9e1e8
commit
2a6d87c7b8
|
@ -112,19 +112,19 @@ module mips_cpu_alu(
|
||||||
end
|
end
|
||||||
|
|
||||||
SLL: begin
|
SLL: begin
|
||||||
ALUOut = B << shamt //Shamt is instruction read data [10:6]
|
ALUOut = B << shamt; //Shamt is instruction read data [10:6]
|
||||||
end
|
end
|
||||||
|
|
||||||
SRL: begin
|
SRL: begin
|
||||||
ALUOut = B >> shamt //Shamt is instruction read data [10:6]
|
ALUOut = B >> shamt; //Shamt is instruction read data [10:6]
|
||||||
end
|
end
|
||||||
|
|
||||||
SLLV: begin
|
SLLV: begin
|
||||||
ALUOut = B << A
|
ALUOut = B << A;
|
||||||
end
|
end
|
||||||
|
|
||||||
SRLV: begin
|
SRLV: begin
|
||||||
ALUOut = B >> A
|
ALUOut = B >> A;
|
||||||
end
|
end
|
||||||
|
|
||||||
AND: begin
|
AND: begin
|
||||||
|
|
Loading…
Reference in a new issue