forked from Github_Repos/cvw
Working without dcache.
This commit is contained in:
parent
91f67f19a7
commit
8e4467654a
@ -50,7 +50,7 @@
|
|||||||
`define UARCH_SUPERSCALR 0
|
`define UARCH_SUPERSCALR 0
|
||||||
`define UARCH_SINGLECYCLE 0
|
`define UARCH_SINGLECYCLE 0
|
||||||
`define MEM_DTIM 1
|
`define MEM_DTIM 1
|
||||||
`define MEM_DCACHE 1
|
`define MEM_DCACHE 0
|
||||||
`define MEM_IROM 1
|
`define MEM_IROM 1
|
||||||
`define MEM_ICACHE 1
|
`define MEM_ICACHE 1
|
||||||
`define MEM_VIRTMEM 0
|
`define MEM_VIRTMEM 0
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
|
|
||||||
module busfsm #(parameter integer WordCountThreshold,
|
module busfsm #(parameter integer WordCountThreshold,
|
||||||
parameter integer LOGWPL, parameter integer CacheEnabled )
|
parameter integer LOGWPL, parameter logic CacheEnabled )
|
||||||
(input logic clk,
|
(input logic clk,
|
||||||
input logic reset,
|
input logic reset,
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ module busfsm #(parameter integer WordCountThreshold,
|
|||||||
assign WordCountFlag = (WordCount == WordCountThreshold[LOGWPL-1:0]);
|
assign WordCountFlag = (WordCount == WordCountThreshold[LOGWPL-1:0]);
|
||||||
assign CntEn = PreCntEn & LsuBusAck;
|
assign CntEn = PreCntEn & LsuBusAck;
|
||||||
|
|
||||||
assign UnCachedAccess = ~CacheableM | ~CacheEnabled;
|
assign UnCachedAccess = ~CacheEnabled | ~CacheableM;
|
||||||
|
|
||||||
always_ff @(posedge clk)
|
always_ff @(posedge clk)
|
||||||
if (reset) BusCurrState <= #1 STATE_BUS_READY;
|
if (reset) BusCurrState <= #1 STATE_BUS_READY;
|
||||||
|
Loading…
Reference in New Issue
Block a user