Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vsim error about "helloworld" test #403

Open
JacoboJin opened this issue Dec 28, 2023 · 0 comments
Open

vsim error about "helloworld" test #403

JacoboJin opened this issue Dec 28, 2023 · 0 comments

Comments

@JacoboJin
Copy link

JacoboJin commented Dec 28, 2023

Hello,

when I run make helloworld.vsim, I met this problem as below:

source tcl_files/run.tcl

vsim -quiet tb -L pulpino_lib -L unisim -L unisims_ver -L apb_gpio_lib -L axi_slice_dc_lib -L apb_event_unit_lib -L axi_node_lib -L riscv_lib -L apb_pulpino_lib -L axi_mem_if_DP_lib -L apb_fll_if_lib -L axi_slice_lib -L apb_uart_lib -L apb_spi_master_lib -L apb_timer_lib -L axi2apb_lib -L axi_spi_slave_lib -L apb_i2c_lib -L adv_dbg_if_lib -L axi_spi_master_lib -L core2axi_lib -L apb_node_lib -L apb2per_lib "+nowarnTRAN" "+nowarnTSCALE" "+nowarnTFMPC" "+MEMLOAD=PRELOAD" -t ps -voptargs="+acc -suppress 2103" -GTEST="" 

Start time: 21:18:42 on Dec 28,2023
** Note: (vsim-3812) Design is being optimized...
** Error (suppressible): /home/jin_eda/dift/pulpino/rtl/pulpino_top.sv(175): (vopt-2732) Module parameter 'USE_ZERO_RISCY' not found for override.
** Error (suppressible): /home/jin_eda/dift/pulpino/rtl/pulpino_top.sv(176): (vopt-2732) Module parameter 'RISCY_RV32F' not found for override.
** Error (suppressible): /home/jin_eda/dift/pulpino/rtl/pulpino_top.sv(177): (vopt-2732) Module parameter 'ZERO_RV32M' not found for override.
** Error (suppressible): /home/jin_eda/dift/pulpino/rtl/pulpino_top.sv(178): (vopt-2732) Module parameter 'ZERO_RV32E' not found for override.
** Warning: (vopt-13) Recompile unisim.vpkg because ieee.std_logic_1164 has changed.
** Warning: (vopt-13) Recompile unisim.vcomponents because ieee.std_logic_1164 has changed.
** Warning: (vopt-12) Recompile unisim.RAMB16_S2_S2 after unisim.vpkg, unisim.vcomponents are recompiled.
** Warning: (vopt-13) Recompile unisim.RAMB16_S2_S2 because ieee.std_logic_1164 has changed.
** Warning: (vopt-12) Recompile unisim.ramb16_s2_s2(ramb16_s2_s2_v) after unisim.RAMB16_S2_S2, unisim.vpkg, unisim.vcomponents are recompiled.
** Warning: (vopt-13) Recompile unisim.ramb16_s2_s2(ramb16_s2_s2_v) because ieee.std_logic_1164 has changed.
** Warning: (vopt-12) Recompile unisim.vpkg(body) after unisim.vpkg is recompiled.
** Warning: (vopt-13) Recompile unisim.vpkg(body) because ieee.std_logic_1164 has changed.

Optimization failed

** Note: (vsim-12126) Error and warning message counts have been restored: Errors=4, Warnings=8.
Error loading design

End time: 21:18:43 on Dec 28,2023, Elapsed time: 0:00:01
Errors: 4, Warnings: 8

Then I checked my pulpino_top.sv and tb.sv files, it has these parameter with default value. I have not never encountered this problem.

# pulpino_top.sv
module pulpino_top
  #(
    parameter USE_ZERO_RISCY       = 0,
    parameter RISCY_RV32F          = 0,
    parameter ZERO_RV32M           = 1,
    parameter ZERO_RV32E           = 0
  )
  (
   ......
);
# tb.sv
....

  pulpino_top
  #(
    .USE_ZERO_RISCY    ( USE_ZERO_RISCY ),
    .RISCY_RV32F       ( RISCY_RV32F    ),
    .ZERO_RV32M        ( ZERO_RV32M     ),
    .ZERO_RV32E        ( ZERO_RV32E     )
   )
  top_i
  (
    .clk               ( s_clk        ),
    .rst_n             ( s_rst_n      ),

    .clk_sel_i         ( 1'b0         ),
    .testmode_i        ( 1'b0         ),
    .fetch_enable_i    ( fetch_enable ),

....

So how to slove it?

Thanks for all contributors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant