Skip to content

Commit

Permalink
Adjust fence.t CSRs write logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ricted98 committed Oct 24, 2024
1 parent 6330fa2 commit f433019
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/csr_regfile.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1586,8 +1586,8 @@ module csr_regfile
riscv::CSR_DCACHE: dcache_d = {{riscv::XLEN - 1{1'b0}}, csr_wdata[0]}; // enable bit
riscv::CSR_ICACHE: icache_d = {{riscv::XLEN - 1{1'b0}}, csr_wdata[0]}; // enable bit
riscv::CSR_FENCE_T_PAD: fence_t_pad_d = {{riscv::XLEN - 32{1'b0}}, csr_wdata[31:0]};
riscv::CSR_FENCE_T_SEL: fence_t_sel_d = {{riscv::XLEN - 1{1'b0}}, csr_wdata[31:0]};
riscv::CSR_FENCE_T_CEIL: fence_t_ceil_d = {{riscv::XLEN - 31{1'b0}}, csr_wdata[32:0]};
riscv::CSR_FENCE_T_SEL: fence_t_sel_d = {{riscv::XLEN - 32{1'b0}}, csr_wdata[31:0]};
riscv::CSR_FENCE_T_CEIL: fence_t_ceil_d = {{riscv::XLEN - 32{1'b0}}, csr_wdata[31:0]};
riscv::CSR_ACC_CONS: begin
if (CVA6Cfg.EnableAccelerator) begin
acc_cons_d = {{riscv::XLEN - 1{1'b0}}, csr_wdata[0]}; // enable bit
Expand Down

0 comments on commit f433019

Please sign in to comment.