data/full_repos/permissive/509468557/generators/cva6/src/main/resources/vsrc/cva6/src/util/instr_trace_item.svh
1: b'%Error: No top level module found\n%Error: Exiting due to 1 error(s)\n'
function string printJump(input string mnemonic);
        case (instr[6:0])
            riscv::OpcodeJalr: begin

                if (rd == 'b0 && (rs1 == 'h1 || rs1 == 'h5)) return this.printMnemonic("ret");
            end
            riscv::OpcodeJal: begin
                if (rd == 'b0) return this.printUJInstr("j");
            end
        endcase
        return this.printIInstr(mnemonic);
    endfunction
function string printJump(input string mnemonic);

        case (instr[6:0])
            riscv::OpcodeJalr: begin

                if (rd == 'b0 && (rs1 == 'h1 || rs1 == 'h5)) return this.printMnemonic("ret");
            end
            riscv::OpcodeJal: begin
                if (rd == 'b0) return this.printUJInstr("j");
            end
        endcase
        return this.printIInstr(mnemonic);
    endfunction