lowRISC / lowRISC/ibex

Fix Xcelium warnings and errors with simple system

Open
#1,196 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component:RTL Type:Bug
Dominant language
SystemVerilog
Stars
2.1k
Forks
810
Avg merge
5d 23h
Merged PRs (30d)
9

Description

      .test_en_i             ('b0),
                                |
xmelab: *W,CUVMPW (../src/lowrisc_ibex_ibex_simple_system_0/rtl/ibex_simple_system.sv,185|32): port sizes differ in port connection (32/1).
      .debug_req_i           ('b0),
                                |
xmelab: *W,CUVMPW (../src/lowrisc_ibex_ibex_simple_system_0/rtl/ibex_simple_system.sv,214|32): port sizes differ in port connection (32/1).
      .fetch_enable_i        ('b1),
                                |
xmelab: *W,CUVMPW (../src/lowrisc_ibex_ibex_simple_system_0/rtl/ibex_simple_system.sv,216|32): port sizes differ in port connection (32/1).
  always_ff @(posedge clk_i or negedge rst_ni) begin
          |
xmelab: *E,MULAXX (../src/lowrisc_ibex_sim_shared_0/rtl/sim/simulator_ctrl.sv,59|10): Multiple drivers to always_ff output variable sim_finish detected.
  always_ff @(posedge clk_i or negedge rst_ni) begin
          |
xmelab: *E,MULAXX (../src/lowrisc_ibex_sim_shared_0/rtl/sim/simulator_ctrl.sv,59|10): Multiple drivers to always_ff output variable sim_finish detected.
  always_ff @(posedge clk_i or negedge rst_ni) begin
          |
xmelab: *E,MULAXX (../src/lowrisc_ibex_sim_shared_0/rtl/sim/simulator_ctrl.sv,59|10): Multiple drivers to always_ff output variable sim_finish detected.
xrun: *E,ELBERR: Error during elaboration (status 1), exiting.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Xcelium elaboration errors in the simple-system setup. Inspect src/lowrisc_ibex_ibex_simple_system_0/rtl/ibex_simple_system.sv at the reported port connections and src/lowrisc_ibex_sim_shared_0/rtl/sim/simulator_ctrl.sv around line 59. Done means the reported port-size warnings and multiple-driver errors no longer occur during elaboration.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.