From: Joshua Wise Date: Mon, 22 Feb 2010 08:15:28 +0000 (-0500) Subject: ICache: Change cache_data to block RAM (yay!). X-Git-Url: http://git.joshuawise.com/firearm.git/commitdiff_plain/ba1c1a27e6fb12882b59cdbd80147a4c12a675b4?ds=sidebyside ICache: Change cache_data to block RAM (yay!). --- 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