X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/90ff449a4ff253d31572db4bf6bdabe61b6b3783..6e3dfd7965137dd06167eaf2894a4080fb7c26ef:/Fetch.v diff --git a/Fetch.v b/Fetch.v index 3b6d9c5..7dd4bb0 100644 --- a/Fetch.v +++ b/Fetch.v @@ -31,7 +31,7 @@ module Fetch( else nextpc = prevpc + 32'h4; - assign rd_addr = pc; + assign rd_addr = nextpc; assign rd_req = !stall; always @(posedge clk)