remove async reset for FPGA synthesis
This commit is contained in:
6
rtl/cache/VX_cache_data.v
vendored
6
rtl/cache/VX_cache_data.v
vendored
@@ -79,10 +79,10 @@ module VX_cache_data
|
|||||||
always @(posedge clk, posedge rst) begin : update_all
|
always @(posedge clk, posedge rst) begin : update_all
|
||||||
if (rst) begin
|
if (rst) begin
|
||||||
for (ini_ind = 0; ini_ind < NUM_IND; ini_ind=ini_ind+1) begin
|
for (ini_ind = 0; ini_ind < NUM_IND; ini_ind=ini_ind+1) begin
|
||||||
data[ini_ind] <= 0;
|
//data[ini_ind] <= 0;
|
||||||
tag[ini_ind] <= 0;
|
//tag[ini_ind] <= 0;
|
||||||
valid[ini_ind] <= 0;
|
valid[ini_ind] <= 0;
|
||||||
dirty[ini_ind] <= 0;
|
//dirty[ini_ind] <= 0;
|
||||||
end
|
end
|
||||||
end else begin
|
end else begin
|
||||||
if (update_dirty) dirty[addr] <= dirt_new; // WRite Port
|
if (update_dirty) dirty[addr] <= dirt_new; // WRite Port
|
||||||
|
|||||||
Reference in New Issue
Block a user