]> Joshua Wise's Git repositories - firearm.git/commitdiff
Fix stupid pc request in Fetch
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Sun, 28 Dec 2008 11:00:52 +0000 (06:00 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Sun, 28 Dec 2008 11:00:52 +0000 (06:00 -0500)
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.023114 seconds and 4 git commands to generate.