Skip to content

Commit

Permalink
sysctl: fix ICAP address decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Nov 22, 2011
1 parent efaf421 commit 0f65527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/sysctl/rtl/sysctl.v
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ reg [7:0] debug_scratchpad;

wire csr_selected = csr_a[13:10] == csr_addr;

assign icap_we = csr_selected & csr_we & (csr_a[4:0] == 4'b10000);
assign icap_we = csr_selected & csr_we & (csr_a[4:0] == 5'b10000);

always @(posedge sys_clk) begin
if(sys_rst) begin
Expand Down

0 comments on commit 0f65527

Please sign in to comment.