OpenCores
URL https://opencores.org/ocsvn/zap/zap/trunk

Subversion Repositories zap

[/] [zap/] [trunk/] [src/] [rtl/] [cpu/] [zap_predecode_compress.v] - Diff between revs 38 and 51

Show entire file | Details | Blame | View Log

Rev 38 Rev 51
Line 115... Line 115...
                        T_POP_PUSH              : decode_pop_push;
                        T_POP_PUSH              : decode_pop_push;
                        T_GET_ADDR              : decode_get_addr;
                        T_GET_ADDR              : decode_get_addr;
                        T_MOD_SP                : decode_mod_sp;
                        T_MOD_SP                : decode_mod_sp;
                        default:
                        default:
                        begin
                        begin
                                `ifdef COMP_DEBUG
 
                                $display($time, "%m: Not implemented in compressed decoder!!!");
 
                                `endif
 
                                o_und = 1; // Will take UND trap.
                                o_und = 1; // Will take UND trap.
                        end
                        end
                endcase
                endcase
        end
        end
end
end
Line 358... Line 355...
        0: o_instruction[31:0] = {AL, 2'b00, 1'b0, ADD, 1'b0, rd, rd, 8'd0, rs}; // ADD Rd, Rd, Rs 
        0: o_instruction[31:0] = {AL, 2'b00, 1'b0, ADD, 1'b0, rd, rd, 8'd0, rs}; // ADD Rd, Rd, Rs 
        1: o_instruction[31:0] = {AL, 2'b00, 1'b0, CMP, 1'b1, rd, rd, 8'd0, rs}; // CMP Rd, Rs
        1: o_instruction[31:0] = {AL, 2'b00, 1'b0, CMP, 1'b1, rd, rd, 8'd0, rs}; // CMP Rd, Rs
        2: o_instruction[31:0] = {AL, 2'b00, 1'b0, MOV, 1'b0, rd, rd, 8'd0, rs}; // MOV Rd, Rs
        2: o_instruction[31:0] = {AL, 2'b00, 1'b0, MOV, 1'b0, rd, rd, 8'd0, rs}; // MOV Rd, Rs
        3:
        3:
        begin
        begin
                $display($time, "%m: This should never happen, should be taken by BX...!");
                $display($time, "%m: Error: This should never happen, should be taken by BX...!");
                $finish;
                $finish;
        end
        end
        endcase
        endcase
end
end
endtask
endtask

powered by: WebSVN 2.1.0

© copyright 1999-2022 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.