From ba1c1a27e6fb12882b59cdbd80147a4c12a675b4 Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Mon, 22 Feb 2010 03:15:28 -0500 Subject: [PATCH] ICache: Change cache_data to block RAM (yay!). --- Fetch.v | 1 - ICache.v | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Fetch.v b/Fetch.v index fc4d899..bc2175c 100644 --- a/Fetch.v +++ b/Fetch.v @@ -47,7 +47,6 @@ module Fetch( assign ic__rd_addr_0a = reqpc_0a; assign ic__rd_req_0a = 1; - always @(posedge clk or negedge Nrst) if (!Nrst) begin bubble_1a <= 1; diff --git a/ICache.v b/ICache.v index 081fc10..dc26fdc 100644 --- a/ICache.v +++ b/ICache.v @@ -39,7 +39,7 @@ module ICache( reg cache_valid [15:0]; reg [21:0] cache_tags [15:0]; - reg [31:0] cache_data [255:0 /* {line, word} */]; //synthesis attribute ram_style of cache_data is distributed + reg [31:0] cache_data [255:0 /* {line, word} */]; //synthesis attribute ram_style of cache_data is block integer i; initial -- 2.39.2