From 012028efaa6d1f864155c80f924714d238e5790f Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Thu, 23 Feb 2012 22:19:11 -0800 Subject: [PATCH] fix fpga build --- rocket/src/main/scala/htif.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocket/src/main/scala/htif.scala b/rocket/src/main/scala/htif.scala index 39cbdc90..8c46ee31 100644 --- a/rocket/src/main/scala/htif.scala +++ b/rocket/src/main/scala/htif.scala @@ -125,7 +125,7 @@ class rocketHTIF(w: Int, ncores: Int) extends Component } io.mem.req_val := state === state_mem_req io.mem.req_rw := cmd === cmd_writemem - io.mem.req_addr := addr >> UFix(3) + io.mem.req_addr := addr >> UFix(OFFSET_BITS-3) io.mem.req_wdata := mem_req_data pcr_done := Bool(false)