mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-23 13:47:13 -04:00
Fix syntax error in concatenation
This commit is contained in:
parent
b3b862cda2
commit
dbc6f6a710
1 changed files with 2 additions and 2 deletions
|
@ -193,7 +193,7 @@ module csr_regfile #(
|
|||
// CSR Write and update logic
|
||||
// ---------------------------
|
||||
always_comb begin : csr_update
|
||||
automatic satp_t sapt = sapt_q;
|
||||
automatic satp_t sapt = satp_q;
|
||||
eret_o = 1'b0;
|
||||
flush_o = 1'b0;
|
||||
update_access_exception = 1'b0;
|
||||
|
@ -239,7 +239,7 @@ module csr_regfile #(
|
|||
else begin
|
||||
sapt = satp_t'(csr_wdata);
|
||||
// only make ASID_LEN - 1 bit stick, that way software can figure out how many ASID bits are supported
|
||||
sapt.asid = {ASID_WIDTH'{1'b1}};
|
||||
sapt.asid = sapt.asid & {{(16-ASID_WIDTH){1'b0}}, {ASID_WIDTH{1'b1}}};
|
||||
satp_n = sapt;
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue