Skip to content

Commit

Permalink
Compilation error with sum method of queue
Browse files Browse the repository at this point in the history
Signed-off-by: Ryszard Rozak <[email protected]>
  • Loading branch information
RRozak committed Oct 11, 2024
1 parent 0246ca3 commit 407d962
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/riscv_reg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ class riscv_reg#(type REG_T = privileged_reg_t) extends uvm_object;

virtual function bit[XLEN-1:0] get_val();
int total_len;
total_len = fld.sum() with (item.bit_width);
if(total_len != XLEN) begin
foreach(fld[i])
$display(fld[i].convert2string());
Expand Down

0 comments on commit 407d962

Please sign in to comment.