]> Joshua Wise's Git repositories - firearm.git/blobdiff - Fetch.v
Add wires for ALU.
[firearm.git] / Fetch.v
diff --git a/Fetch.v b/Fetch.v
index 3b6d9c57f9f5f090884e752ef0fdb68faa96263f..7dd4bb02aa207f9ff3fd976ffcab86dab1ddefef 100644 (file)
--- 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)
This page took 0.024536 seconds and 4 git commands to generate.