Fixed an issue with sup program generation
@@ -341,7 +341,7 @@ class riscv_asm_program_gen : uvm_object
}
void insert_sub_program(riscv_instr_sequence[] sub_program,
- Queue!string instr_list) {
+ ref Queue!string instr_list) {
sub_program.shuffle();
foreach(subp; sub_program) {
subp.post_process_instr();
@@ -351,7 +351,7 @@ class riscv_asm_program_gen : uvm_object
}
void insert_sub_program(riscv_instr_sequence[] sub_program,
- string[] instr_list) {
+ ref string[] instr_list) {
sub_program.shuffle();
foreach(subp; sub_program) {
subp.post_process_instr();
