Skip to content

Commit

Permalink
wt cache cond update
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan-108 committed Dec 9, 2024
1 parent 35515b6 commit 6af27de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/cache_subsystem/wt_dcache.sv
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ module wt_dcache
// read controllers (LD unit and PTW/MMU)
///////////////////////////////////////////////////////

// 0 is used by MMU, 1 by READ access requests
// 0 is used by MMU or implicit read by zcmt, 1 by READ access requests
for (genvar k = 0; k < NumPorts - 1; k++) begin : gen_rd_ports
// set these to high prio ports
if ((k == 0 && CVA6Cfg.MmuPresent) || (k == 1) || (k == 2 && CVA6Cfg.EnableAccelerator)) begin
if ((k == 0 && CVA6Cfg.MmuPresent) || (k == 0 && CVA6Cfg.RVZCMT ) || (k == 1) || (k == 2 && CVA6Cfg.EnableAccelerator)) begin
assign rd_prio[k] = 1'b1;
wt_dcache_ctrl #(
.CVA6Cfg(CVA6Cfg),
Expand Down
1 change: 0 additions & 1 deletion core/zcmt_decoder.sv
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ module zcmt_decoder #(
logic [7:0] index; //index of instruction
//Physical address: jvt + (index <<2)
logic [CVA6Cfg.XLEN+1:0] table_address; //Virtual address: {00,Physical address}
logic [CVA6Cfg.XLEN-1:0] data_rdata; //data received from instruction memory
logic [20:0] jump_addr; //jump address immidiate

always_comb begin
Expand Down

0 comments on commit 6af27de

Please sign in to comment.