Hello world simulating optimization failed error #895
Labels
Component:Verif
For issues in the verification environment or test cases (e.g. for testbench, C code, etc.)
Status:Wont-fix
Issue will not be fixed
Hi, I want to use the cv32e40p core for a project and I am just trying to run a simulation for the first time. However it gives me 2 errors : Top level modules:
tb_top
Analyzing design...
-- Loading module tb_top
-- Loading module cv32e40p_tb_subsystem
-- Loading module cv32e40p_top
-- Importing package cv32e40p_apu_core_pkg
** Error (suppressible): cv32e40p_tb_subsystem.sv(74): (vopt-2732) Module parameter 'PULP_XPULP' not found for override.
** Error (suppressible): cv32e40p_tb_subsystem.sv(75): (vopt-2732) Module parameter 'PULP_CLUSTER' not found for override.
-- Loading module cv32e40p_core
-- Importing package cv32e40p_pkg
-- Loading module cv32e40p_sleep_unit
-- Loading module cv32e40p_clock_gate
-- Loading module cv32e40p_if_stage
-- Loading module cv32e40p_prefetch_buffer
-- Loading module cv32e40p_prefetch_controller
-- Loading module cv32e40p_fifo
-- Loading module cv32e40p_obi_interface
-- Loading module cv32e40p_aligner
-- Loading module cv32e40p_compressed_decoder
-- Loading module cv32e40p_id_stage
-- Importing package cv32e40p_fpu_pkg
-- Loading module cv32e40p_register_file
-- Loading module cv32e40p_decoder
-- Loading module cv32e40p_controller
-- Loading module cv32e40p_int_controller
-- Loading module cv32e40p_ex_stage
-- Loading module cv32e40p_alu
-- Loading module cv32e40p_popcnt
-- Loading module cv32e40p_ff_one
-- Loading module cv32e40p_alu_div
-- Loading module cv32e40p_mult
-- Loading module cv32e40p_load_store_unit
-- Loading module cv32e40p_cs_registers
-- Loading module mm_ram
-- Loading module amo_shim
-- Loading module dp_ram
-- Loading module riscv_rvalid_stall
-- Importing package perturbation_pkg
-- Loading module riscv_gnt_stall
-- Loading module cv32e40p_random_interrupt_generator
Optimization failed
End time: 16:57:29 on Oct 23,2023, Elapsed time: 0:00:00
Errors: 2, Warnings: 1
make: *** [.opt-rtl] Error 2
I have attached the makefile here:
Makefile.zip
All I did was remove the VVERSION suffix in my makefile and added the riscv toolchain path.
The text was updated successfully, but these errors were encountered: