Skip to content

Commit

Permalink
Update core.sv
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrejChoo authored Oct 3, 2023
1 parent 80367ac commit f2ee29e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion firmware/altera/core.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,8 @@ always@(*)
if({opcode0[11:10],opcode0[8]} == 3'b101) o_num = SBICS; //SBIC - SBIS
if({opcode0[11:9],opcode0[3:0]} == 7'b0000000) o_num = LDS;
if({opcode0[11:9],opcode0[3:0]} == 7'b0010000) o_num = STS;
if({opcode0[11:9],opcode0[3:1]} == 6'b000010) o_num = LPMZ;
if({opcode0[11:9],opcode0[3:0]} == 7'b0000100) o_num = LPMZ; //LPMZ
if({opcode0[11:9],opcode0[3:0]} == 7'b0000101) o_num = LPMZ; //LPMZ+
if({opcode0[11:9],opcode0[3:0]} == 7'b0001100) o_num = LDX;
if({opcode0[11:9],opcode0[3:0]} == 7'b0001101) o_num = LDX;
if({opcode0[11:9],opcode0[3:0]} == 7'b0001110) o_num = LDX;
Expand Down

0 comments on commit f2ee29e

Please sign in to comment.