From b65bcab8d653e3b01565176d17a7f93313ab0f8c Mon Sep 17 00:00:00 2001 From: Rejeesh Kutty Date: Wed, 7 Jan 2015 13:58:16 -0500 Subject: [PATCH] up_clkgen: reading typo --- library/common/up_clkgen.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/common/up_clkgen.v b/library/common/up_clkgen.v index 504c5e4b1..a342d43c0 100644 --- a/library/common/up_clkgen.v +++ b/library/common/up_clkgen.v @@ -174,7 +174,7 @@ module up_clkgen ( end else begin up_rack <= up_rreq_s; if (up_rreq_s == 1'b1) begin - case (up_waddr[7:0]) + case (up_raddr[7:0]) 8'h00: up_rdata <= PCORE_VERSION; 8'h01: up_rdata <= PCORE_ID; 8'h02: up_rdata <= up_scratch;