Move user_define.h to the beginning of the program
@@ -306,10 +306,10 @@ class riscv_asm_program_gen extends uvm_object;
//---------------------------------------------------------------------------------------
virtual function void gen_program_header();
+ instr_stream.push_back(".include \"user_define.h\"");
instr_stream.push_back(".globl _start");
instr_stream.push_back(".section .text");
instr_stream.push_back("_start:");
- instr_stream.push_back(".include \"user_define.h\"");
endfunction
virtual function void gen_program_end();
