Skip to content
Snippets Groups Projects
Commit c6336384 authored by Nils Wistoff's avatar Nils Wistoff Committed by Florian Zaruba
Browse files

tb_wb_dcache: add dependencies

parent 0e066983
No related branches found
No related tags found
No related merge requests found
...@@ -52,3 +52,6 @@ ...@@ -52,3 +52,6 @@
[submodule "tb/dromajo"] [submodule "tb/dromajo"]
path = tb/dromajo path = tb/dromajo
url = https://github.com/kabylkas/dromajo.git url = https://github.com/kabylkas/dromajo.git
[submodule "tb/common_verification"]
path = tb/common_verification
url = git@github.com:pulp-platform/common_verification.git
...@@ -45,6 +45,7 @@ package ariane_axi; ...@@ -45,6 +45,7 @@ package ariane_axi;
axi_pkg::qos_t qos; axi_pkg::qos_t qos;
axi_pkg::region_t region; axi_pkg::region_t region;
axi_pkg::atop_t atop; axi_pkg::atop_t atop;
user_t user;
} aw_chan_t; } aw_chan_t;
// AW Channel - Slave // AW Channel - Slave
...@@ -60,6 +61,7 @@ package ariane_axi; ...@@ -60,6 +61,7 @@ package ariane_axi;
axi_pkg::qos_t qos; axi_pkg::qos_t qos;
axi_pkg::region_t region; axi_pkg::region_t region;
axi_pkg::atop_t atop; axi_pkg::atop_t atop;
user_t user;
} aw_chan_slv_t; } aw_chan_slv_t;
// W Channel - AXI4 doesn't define a wid // W Channel - AXI4 doesn't define a wid
...@@ -67,18 +69,21 @@ package ariane_axi; ...@@ -67,18 +69,21 @@ package ariane_axi;
data_t data; data_t data;
strb_t strb; strb_t strb;
logic last; logic last;
user_t user;
} w_chan_t; } w_chan_t;
// B Channel // B Channel
typedef struct packed { typedef struct packed {
id_t id; id_t id;
axi_pkg::resp_t resp; axi_pkg::resp_t resp;
user_t user;
} b_chan_t; } b_chan_t;
// B Channel - Slave // B Channel - Slave
typedef struct packed { typedef struct packed {
id_slv_t id; id_slv_t id;
axi_pkg::resp_t resp; axi_pkg::resp_t resp;
user_t user;
} b_chan_slv_t; } b_chan_slv_t;
// AR Channel // AR Channel
...@@ -93,6 +98,7 @@ package ariane_axi; ...@@ -93,6 +98,7 @@ package ariane_axi;
axi_pkg::prot_t prot; axi_pkg::prot_t prot;
axi_pkg::qos_t qos; axi_pkg::qos_t qos;
axi_pkg::region_t region; axi_pkg::region_t region;
user_t user;
} ar_chan_t; } ar_chan_t;
// AR Channel - Slave // AR Channel - Slave
...@@ -107,6 +113,7 @@ package ariane_axi; ...@@ -107,6 +113,7 @@ package ariane_axi;
axi_pkg::prot_t prot; axi_pkg::prot_t prot;
axi_pkg::qos_t qos; axi_pkg::qos_t qos;
axi_pkg::region_t region; axi_pkg::region_t region;
user_t user;
} ar_chan_slv_t; } ar_chan_slv_t;
// R Channel // R Channel
...@@ -115,6 +122,7 @@ package ariane_axi; ...@@ -115,6 +122,7 @@ package ariane_axi;
data_t data; data_t data;
axi_pkg::resp_t resp; axi_pkg::resp_t resp;
logic last; logic last;
user_t user;
} r_chan_t; } r_chan_t;
// R Channel - Slave // R Channel - Slave
...@@ -123,6 +131,7 @@ package ariane_axi; ...@@ -123,6 +131,7 @@ package ariane_axi;
data_t data; data_t data;
axi_pkg::resp_t resp; axi_pkg::resp_t resp;
logic last; logic last;
user_t user;
} r_chan_slv_t; } r_chan_slv_t;
// Request/Response structs // Request/Response structs
......
...@@ -76,6 +76,7 @@ module axi_adapter #( ...@@ -76,6 +76,7 @@ module axi_adapter #(
axi_req_o.aw.qos = 4'b0; axi_req_o.aw.qos = 4'b0;
axi_req_o.aw.id = id_i; axi_req_o.aw.id = id_i;
axi_req_o.aw.atop = '0; // currently not used axi_req_o.aw.atop = '0; // currently not used
axi_req_o.aw.user = '0;
axi_req_o.ar_valid = 1'b0; axi_req_o.ar_valid = 1'b0;
// in case of a single request or wrapping transfer we can simply begin at the address, if we want to request a cache-line // in case of a single request or wrapping transfer we can simply begin at the address, if we want to request a cache-line
...@@ -90,11 +91,13 @@ module axi_adapter #( ...@@ -90,11 +91,13 @@ module axi_adapter #(
axi_req_o.ar.cache = 4'b0; axi_req_o.ar.cache = 4'b0;
axi_req_o.ar.qos = 4'b0; axi_req_o.ar.qos = 4'b0;
axi_req_o.ar.id = id_i; axi_req_o.ar.id = id_i;
axi_req_o.ar.user = '0;
axi_req_o.w_valid = 1'b0; axi_req_o.w_valid = 1'b0;
axi_req_o.w.data = wdata_i[0]; axi_req_o.w.data = wdata_i[0];
axi_req_o.w.strb = be_i[0]; axi_req_o.w.strb = be_i[0];
axi_req_o.w.last = 1'b0; axi_req_o.w.last = 1'b0;
axi_req_o.w.user = '0;
axi_req_o.b_ready = 1'b0; axi_req_o.b_ready = 1'b0;
axi_req_o.r_ready = 1'b0; axi_req_o.r_ready = 1'b0;
......
This diff is collapsed.
Subproject commit a1e569119cdf2d25cecceee4016acd98030f6886
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment