From 3e634aef1d3afedacc4035248d81bc742377aff5 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Wed, 22 Jan 2014 18:20:36 -0800 Subject: [PATCH] Fix HTIF for cache line sizes other than 64 B --- uncore/src/main/scala/htif.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncore/src/main/scala/htif.scala b/uncore/src/main/scala/htif.scala index fdd1162c..4e894af8 100644 --- a/uncore/src/main/scala/htif.scala +++ b/uncore/src/main/scala/htif.scala @@ -56,7 +56,7 @@ class HTIF(w: Int, pcr_RESET: Int, nSCR: Int)(implicit conf: TileLinkConfigurati // system is 'interesting' if any tile is 'interesting' val short_request_bits = 64 - val long_request_bits = 576 + val long_request_bits = short_request_bits + MEM_DATA_BITS*REFILL_CYCLES require(short_request_bits % w == 0) val rx_count_w = 13 + log2Up(64) - log2Up(w) // data size field is 12 bits