added uvm_glob_to_re in uvm_re_match
@@ -278,7 +278,7 @@ class riscv_instr_sequence extends uvm_sequence;
// If PMP is supported, need to align <main> to a 4-byte boundary.
// TODO(udi) - this might interfere with multi-hart programs,
// may need to specifically match hart0.
- if (riscv_instr_pkg::support_pmp && !uvm_re_match("*main*", label_name)) begin
+ if (riscv_instr_pkg::support_pmp && !uvm_re_match(uvm_glob_to_re("*main*"), label_name)) begin
instr_string_list.push_front(".align 2");
end
insert_illegal_hint_instr();
