data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/core_ibex/riscv_dv_extension/ibex_asm_program_gen.sv
1: b"%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/core_ibex/riscv_dv_extension/ibex_asm_program_gen.sv:9: Unsupported: classes\nclass ibex_asm_program_gen extends riscv_asm_program_gen;\n^~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/core_ibex/riscv_dv_extension/ibex_asm_program_gen.sv:9: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER\nclass ibex_asm_program_gen extends riscv_asm_program_gen;\n                                   ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/core_ibex/riscv_dv_extension/ibex_asm_program_gen.sv:11: Define or directive not defined: '`uvm_object_utils'\n  `uvm_object_utils(ibex_asm_program_gen)\n  ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/core_ibex/riscv_dv_extension/ibex_asm_program_gen.sv:12: Define or directive not defined: '`uvm_object_new'\n  `uvm_object_new\n  ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/core_ibex/riscv_dv_extension/ibex_asm_program_gen.sv:37: syntax error, unexpected virtual\n  virtual function void init_custom_csr(ref string instr[$]);\n          ^~~~~~~~\n%Error: data/full_repos/permissive/509468557/generators/ibex/src/main/resources/vsrc/ibex/dv/uvm/core_ibex/riscv_dv_extension/ibex_asm_program_gen.sv:42: syntax error, unexpected endclass\nendclass\n^~~~~~~~\n%Error: Exiting due to 6 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n"
function void gen_program_header();

    cfg.mstatus_mprv = 0;
    cfg.mstatus_mxr  = 0;
    cfg.mstatus_sum  = 0;
    cfg.mstatus_tvm  = 0;


    cfg.check_misa_init_val = 1'b0;
    cfg.check_xstatus = 1'b0;
    instr_stream.push_back(".section .text");
    instr_stream.push_back(".globl _start");
    instr_stream.push_back(".option norvc");

    instr_stream.push_back("j debug_rom");

    instr_stream.push_back("j debug_exception");

    instr_stream.push_back(".align 7");
    instr_stream.push_back(".option rvc");
    instr_stream.push_back("_start:");
  endfunction
function void gen_program_header();


    cfg.mstatus_mprv = 0;
    cfg.mstatus_mxr  = 0;
    cfg.mstatus_sum  = 0;
    cfg.mstatus_tvm  = 0;


    cfg.check_misa_init_val = 1'b0;
    cfg.check_xstatus = 1'b0;
    instr_stream.push_back(".section .text");
    instr_stream.push_back(".globl _start");
    instr_stream.push_back(".option norvc");

    instr_stream.push_back("j debug_rom");

    instr_stream.push_back("j debug_exception");

    instr_stream.push_back(".align 7");
    instr_stream.push_back(".option rvc");
    instr_stream.push_back("_start:");
  endfunction