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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1200/] [rtl/] [verilog/] [or1200_ctrl.v] - Diff between revs 859 and 865

Show entire file | Details | Blame | View Log

Rev 859 Rev 865
Line 696... Line 696...
                `OR1200_OR32_ORI,
                `OR1200_OR32_ORI,
                `OR1200_OR32_XORI,
                `OR1200_OR32_XORI,
`ifdef OR1200_MULT_IMPLEMENTED
`ifdef OR1200_MULT_IMPLEMENTED
                `OR1200_OR32_MULI,
                `OR1200_OR32_MULI,
`endif
`endif
 
`ifdef OR1200_IMPL_ALU_ROTATE
                `OR1200_OR32_SH_ROTI,
                `OR1200_OR32_SH_ROTI,
 
`endif
                `OR1200_OR32_SFXXI,
                `OR1200_OR32_SFXXI,
                `OR1200_OR32_MTSPR,
                `OR1200_OR32_MTSPR,
`ifdef OR1200_MAC_IMPLEMENTED
`ifdef OR1200_MAC_IMPLEMENTED
                `OR1200_OR32_MACMSB,
                `OR1200_OR32_MACMSB,
`endif
`endif
Line 808... Line 810...
            // l.muli
            // l.muli
`ifdef OR1200_MULT_IMPLEMENTED
`ifdef OR1200_MULT_IMPLEMENTED
            `OR1200_OR32_MULI:
            `OR1200_OR32_MULI:
              alu_op <=  `OR1200_ALUOP_MUL;
              alu_op <=  `OR1200_ALUOP_MUL;
`endif
`endif
 
`ifdef OR1200_IMPL_ALU_ROTATE
            // Shift and rotate insns with immediate
            // Shift and rotate insns with immediate
            `OR1200_OR32_SH_ROTI:
            `OR1200_OR32_SH_ROTI:
              alu_op <=  `OR1200_ALUOP_SHROT;
              alu_op <=  `OR1200_ALUOP_SHROT;
 
`endif
            // SFXX insns with immediate
            // SFXX insns with immediate
            `OR1200_OR32_SFXXI:
            `OR1200_OR32_SFXXI:
              alu_op <=  `OR1200_ALUOP_COMP;
              alu_op <=  `OR1200_ALUOP_COMP;
 
 
            // ALU instructions except the one with immediate
            // ALU instructions except the one with immediate
Line 1006... Line 1008...
                `OR1200_OR32_MULI:
                `OR1200_OR32_MULI:
                        rfwb_op <=  {`OR1200_RFWBOP_ALU, 1'b1};
                        rfwb_op <=  {`OR1200_RFWBOP_ALU, 1'b1};
`endif
`endif
 
 
                // Shift and rotate insns with immediate
                // Shift and rotate insns with immediate
 
`ifdef OR1200_IMPL_ALU_ROTATE
                `OR1200_OR32_SH_ROTI:
                `OR1200_OR32_SH_ROTI:
                        rfwb_op <=  {`OR1200_RFWBOP_ALU, 1'b1};
                        rfwb_op <=  {`OR1200_RFWBOP_ALU, 1'b1};
 
`endif
                // ALU instructions except the one with immediate
                // ALU instructions except the one with immediate
                `OR1200_OR32_ALU:
                `OR1200_OR32_ALU:
                        rfwb_op <=  {`OR1200_RFWBOP_ALU, 1'b1};
                        rfwb_op <=  {`OR1200_RFWBOP_ALU, 1'b1};
 
 
`ifdef OR1200_ALU_IMPL_CUST5
`ifdef OR1200_ALU_IMPL_CUST5

powered by: WebSVN 2.1.0

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