Skip to content

Commit

Permalink
cfgrs: set VR VER to 0x10
Browse files Browse the repository at this point in the history
Even though the VR register is considered to be deprecated,
values outside of the range 0x10 and 0x19 has been stated
as illegal for OpenRISC 1000 implemantations in the
arch spec.
  • Loading branch information
skristiansson committed Mar 14, 2013
1 parent 9dc8c8d commit edefb6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtl/verilog/mor1kx_cfgrs.v
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ module mor1kx_cfgrs
assign spr_vr[`OR1K_SPR_VR_UVRP] = 1;
assign spr_vr[`OR1K_SPR_VR_RESERVED] = 0;
assign spr_vr[`OR1K_SPR_VR_CFG] = 0;
assign spr_vr[`OR1K_SPR_VR_VER] = 0;
assign spr_vr[`OR1K_SPR_VR_VER] = 8'h10;

assign spr_upr[`OR1K_SPR_UPR_UP] = 1;
assign spr_upr[`OR1K_SPR_UPR_DCP] = (FEATURE_DATACACHE!="NONE");
assign spr_upr[`OR1K_SPR_UPR_ICP] = (FEATURE_INSTRUCTIONCACHE!="NONE");
Expand Down

0 comments on commit edefb6e

Please sign in to comment.