Skip to content

Commit

Permalink
Compilation error: queue select as output arg
Browse files Browse the repository at this point in the history
Signed-off-by: Ryszard Rozak <[email protected]>
  • Loading branch information
RRozak committed Oct 18, 2024
1 parent 407d962 commit 91e142d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/riscv_instr_stream.sv
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ class riscv_rand_instr_stream extends riscv_instr_stream;
bit is_debug_program = 1'b0);
setup_allowed_instr(no_branch, no_load_store);
foreach(instr_list[i]) begin
randomize_instr(instr_list[i], is_debug_program);
riscv_instr instr;
randomize_instr(instr, is_debug_program);
instr_list[i] = instr;
end
// Do not allow branch instruction as the last instruction because there's no
// forward branch target
Expand Down

0 comments on commit 91e142d

Please sign in to comment.