Skip to content

VCS Compiling problem Corev-dv #2588

@murattokez

Description

@murattokez

Hello,

When compiling corev-dv with VCS I get errors in 3 related files. I was able to compile with Questa. I am working on cv32e40p/dev branch. Can anyone help?

Error-[ICTA] Incompatible complex type
/verif/code/env/instr_gen_env/cv32e40p_isg_env/cv32e40p_load_store_instr_lib.sv, 45
  Incompatible complex type assignment
  Type of source expression is incompatible with type of target expression. 
  Mismatching types cannot be used in assignments, initializations and 
  instantiations. The type of the target is 'enum 
  riscv_instr_pkg::riscv_reg_t$[]', while the type of the source is 'enum 
  riscv_instr_pkg::riscv_reg_t$[$]'.
  Source Expression: this.s0_a5_avail_regs.find(item) with ((!(item inside 
  {this.cfg.reserved_regs, this.reserved_rd})))

Error-[ICTA] Incompatible complex type
/verif/code/env/instr_gen_env/cv32e40p_isg_env/cv32e40p_load_store_instr_lib.sv, 77
  Incompatible complex type assignment
  Type of source expression is incompatible with type of target expression. 
  Mismatching types cannot be used in assignments, initializations and 
  instantiations. The type of the target is 'enum 
  riscv_instr_pkg::riscv_reg_t$[]', while the type of the source is 'enum 
  riscv_instr_pkg::riscv_reg_t$[$]'.
  Source Expression: this.s0_a5_avail_regs.find(item) with ((!(item inside 
  {this.cfg.reserved_regs, this.reserved_rd})))
  


Error-[ICTA] Incompatible complex type
/verif/code/env/instr_gen_env/cv32e40p_isg_env/cv32e40p_loop_instr.sv, 53
  Incompatible complex type assignment
  Type of source expression is incompatible with type of target expression. 
  Mismatching types cannot be used in assignments, initializations and 
  instantiations. The type of the target is 'enum 
  riscv_instr_pkg::riscv_reg_t$[]', while the type of the source is 'enum 
  riscv_instr_pkg::riscv_reg_t$[$]'.
  Source Expression: this.s0_a5_avail_regs.find(item) with ((!(item inside 
  {this.cfg.reserved_regs, this.reserved_rd})))

135 warnings
3 errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions