ibex icon indicating copy to clipboard operation
ibex copied to clipboard

Cadence Incisive 15.1 compilation problems

Open Evgenii666 opened this issue 6 years ago • 1 comments

Hi

I have encountered the following error while trying to compile your test environment with Cadence Incisive 15.1 simulator:

ncvlog: *E,UXEXID (./lowrisc_centOS/ibex/vendor/google_riscv-dv/src/riscv_privileged_common_seq.sv,191|72): Unexpected identifier 'bit_width' after completed expression. (`include file: ./lowrisc_centOS/ibex/vendor/google_riscv-dv/src/riscv_privileged_common_seq.sv line 191, file: ./lowrisc_centOS/ibex/vendor/google_riscv-dv/src/riscv_instr_pkg.sv line 915)

On that line you are calling the get_field_by_name() function, which returns a class riscv_reg_field. That class has a bit_width property. You are referencing the property directly using the function’s name:

satp_ppn_mask = '1 >> (XLEN — satp.get_field_by_name("PPN").bit_width);

My version of NCVLOG does not compile this construction. So I just wanted so clarify: was this usage intentional? Or, perhaps, the error was caused by some other reason?

Evgenii666 avatar Feb 28 '20 14:02 Evgenii666

We no longer support Incisive/IUS due to various language incompatibility issues, so I will close this issue.

udinator avatar Apr 09 '20 16:04 udinator