PICP and PMP bits are swapped according to the arch spec. This fixes bug 77
--- I'm a bit worried about the implications of this, but I dob't have the environment set up to run a full regression test. Anyone up for the task? Index: or1200_defines.v =================================================================== --- or1200_defines.v (revision 813) +++ or1200_defines.v (working copy) @@ -1541,8 +1541,8 @@ `define OR1200_UPR_MP_BITS 5 `define OR1200_UPR_DUP_BITS 6 `define OR1200_UPR_PCUP_BITS 7 -`define OR1200_UPR_PMP_BITS 8 -`define OR1200_UPR_PICP_BITS 9 +`define OR1200_UPR_PICP_BITS 8 +`define OR1200_UPR_PMP_BITS 9 `define OR1200_UPR_TTP_BITS 10 `define OR1200_UPR_FPP_BITS 11 `define OR1200_UPR_RES1_BITS 23:12 -- Olof Kindgren ______________________________________________ ORSoC Website: www.orsoc.se Email: [email protected] ______________________________________________ FPGA, ASIC, DSP - embedded SoC design _______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
