refactoring cache_config
This commit is contained in:
2
hw/rtl/cache/VX_bank.v
vendored
2
hw/rtl/cache/VX_bank.v
vendored
@@ -1,4 +1,4 @@
|
|||||||
`include "VX_cache_config.vh"
|
`include "VX_cache_define.vh"
|
||||||
|
|
||||||
module VX_bank #(
|
module VX_bank #(
|
||||||
parameter CACHE_ID = 0,
|
parameter CACHE_ID = 0,
|
||||||
|
|||||||
2
hw/rtl/cache/VX_cache.v
vendored
2
hw/rtl/cache/VX_cache.v
vendored
@@ -1,4 +1,4 @@
|
|||||||
`include "VX_cache_config.vh"
|
`include "VX_cache_define.vh"
|
||||||
|
|
||||||
module VX_cache #(
|
module VX_cache #(
|
||||||
parameter CACHE_ID = 0,
|
parameter CACHE_ID = 0,
|
||||||
|
|||||||
2
hw/rtl/cache/VX_cache_core_req_bank_sel.v
vendored
2
hw/rtl/cache/VX_cache_core_req_bank_sel.v
vendored
@@ -1,4 +1,4 @@
|
|||||||
`include "VX_cache_config.vh"
|
`include "VX_cache_define.vh"
|
||||||
|
|
||||||
module VX_cache_core_req_bank_sel #(
|
module VX_cache_core_req_bank_sel #(
|
||||||
parameter CACHE_ID = 0,
|
parameter CACHE_ID = 0,
|
||||||
|
|||||||
2
hw/rtl/cache/VX_cache_core_rsp_merge.v
vendored
2
hw/rtl/cache/VX_cache_core_rsp_merge.v
vendored
@@ -1,4 +1,4 @@
|
|||||||
`include "VX_cache_config.vh"
|
`include "VX_cache_define.vh"
|
||||||
|
|
||||||
module VX_cache_core_rsp_merge #(
|
module VX_cache_core_rsp_merge #(
|
||||||
parameter CACHE_ID = 0,
|
parameter CACHE_ID = 0,
|
||||||
|
|||||||
2
hw/rtl/cache/VX_data_access.v
vendored
2
hw/rtl/cache/VX_data_access.v
vendored
@@ -1,4 +1,4 @@
|
|||||||
`include "VX_cache_config.vh"
|
`include "VX_cache_define.vh"
|
||||||
|
|
||||||
module VX_data_access #(
|
module VX_data_access #(
|
||||||
parameter CACHE_ID = 0,
|
parameter CACHE_ID = 0,
|
||||||
|
|||||||
2
hw/rtl/cache/VX_flush_ctrl.v
vendored
2
hw/rtl/cache/VX_flush_ctrl.v
vendored
@@ -1,4 +1,4 @@
|
|||||||
`include "VX_cache_config.vh"
|
`include "VX_cache_define.vh"
|
||||||
|
|
||||||
module VX_flush_ctrl #(
|
module VX_flush_ctrl #(
|
||||||
// Size of cache in bytes
|
// Size of cache in bytes
|
||||||
|
|||||||
2
hw/rtl/cache/VX_miss_resrv.v
vendored
2
hw/rtl/cache/VX_miss_resrv.v
vendored
@@ -1,4 +1,4 @@
|
|||||||
`include "VX_cache_config.vh"
|
`include "VX_cache_define.vh"
|
||||||
|
|
||||||
module VX_miss_resrv #(
|
module VX_miss_resrv #(
|
||||||
parameter CACHE_ID = 0,
|
parameter CACHE_ID = 0,
|
||||||
|
|||||||
2
hw/rtl/cache/VX_shared_mem.v
vendored
2
hw/rtl/cache/VX_shared_mem.v
vendored
@@ -1,4 +1,4 @@
|
|||||||
`include "VX_cache_config.vh"
|
`include "VX_cache_define.vh"
|
||||||
|
|
||||||
module VX_shared_mem #(
|
module VX_shared_mem #(
|
||||||
parameter CACHE_ID = 0,
|
parameter CACHE_ID = 0,
|
||||||
|
|||||||
2
hw/rtl/cache/VX_tag_access.v
vendored
2
hw/rtl/cache/VX_tag_access.v
vendored
@@ -1,4 +1,4 @@
|
|||||||
`include "VX_cache_config.vh"
|
`include "VX_cache_define.vh"
|
||||||
|
|
||||||
module VX_tag_access #(
|
module VX_tag_access #(
|
||||||
parameter CACHE_ID = 0,
|
parameter CACHE_ID = 0,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
`ifndef VX_CACHE_MEM_REQ_IF
|
`ifndef VX_CACHE_MEM_REQ_IF
|
||||||
`define VX_CACHE_MEM_REQ_IF
|
`define VX_CACHE_MEM_REQ_IF
|
||||||
|
|
||||||
`include "../cache/VX_cache_config.vh"
|
`include "../cache/VX_cache_define.vh"
|
||||||
|
|
||||||
interface VX_cache_mem_req_if #(
|
interface VX_cache_mem_req_if #(
|
||||||
parameter MEM_LINE_WIDTH = 1,
|
parameter MEM_LINE_WIDTH = 1,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
`ifndef VX_CACHE_MEM_RSP_IF
|
`ifndef VX_CACHE_MEM_RSP_IF
|
||||||
`define VX_CACHE_MEM_RSP_IF
|
`define VX_CACHE_MEM_RSP_IF
|
||||||
|
|
||||||
`include "../cache/VX_cache_config.vh"
|
`include "../cache/VX_cache_define.vh"
|
||||||
|
|
||||||
interface VX_cache_mem_rsp_if #(
|
interface VX_cache_mem_rsp_if #(
|
||||||
parameter MEM_LINE_WIDTH = 1,
|
parameter MEM_LINE_WIDTH = 1,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
`ifndef VX_DCACHE_CORE_REQ_IF
|
`ifndef VX_DCACHE_CORE_REQ_IF
|
||||||
`define VX_DCACHE_CORE_REQ_IF
|
`define VX_DCACHE_CORE_REQ_IF
|
||||||
|
|
||||||
`include "../cache/VX_cache_config.vh"
|
`include "../cache/VX_cache_define.vh"
|
||||||
|
|
||||||
interface VX_dcache_core_req_if #(
|
interface VX_dcache_core_req_if #(
|
||||||
parameter NUM_REQS = 1,
|
parameter NUM_REQS = 1,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
`ifndef VX_DCACHE_CORE_RSP_IF
|
`ifndef VX_DCACHE_CORE_RSP_IF
|
||||||
`define VX_DCACHE_CORE_RSP_IF
|
`define VX_DCACHE_CORE_RSP_IF
|
||||||
|
|
||||||
`include "../cache/VX_cache_config.vh"
|
`include "../cache/VX_cache_define.vh"
|
||||||
|
|
||||||
interface VX_dcache_core_rsp_if #(
|
interface VX_dcache_core_rsp_if #(
|
||||||
parameter NUM_REQS = 1,
|
parameter NUM_REQS = 1,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
`ifndef VX_ICACHE_CORE_REQ_IF
|
`ifndef VX_ICACHE_CORE_REQ_IF
|
||||||
`define VX_ICACHE_CORE_REQ_IF
|
`define VX_ICACHE_CORE_REQ_IF
|
||||||
|
|
||||||
`include "../cache/VX_cache_config.vh"
|
`include "../cache/VX_cache_define.vh"
|
||||||
|
|
||||||
interface VX_icache_core_req_if #(
|
interface VX_icache_core_req_if #(
|
||||||
parameter WORD_SIZE = 1,
|
parameter WORD_SIZE = 1,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
`ifndef VX_ICACHE_CORE_RSP_IF
|
`ifndef VX_ICACHE_CORE_RSP_IF
|
||||||
`define VX_ICACHE_CORE_RSP_IF
|
`define VX_ICACHE_CORE_RSP_IF
|
||||||
|
|
||||||
`include "../cache/VX_cache_config.vh"
|
`include "../cache/VX_cache_define.vh"
|
||||||
|
|
||||||
interface VX_icache_core_rsp_if #(
|
interface VX_icache_core_rsp_if #(
|
||||||
parameter WORD_SIZE = 1,
|
parameter WORD_SIZE = 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user