chipsalliance / chipsalliance/rocket-chip

parameter not find in freechips.rocketchip.config

Open
#3,603 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
3.9k
Forks
1.3k
Avg merge
5d 13m
Merged PRs (30d)
1

Description

**when i build verilog, i got the error as follows:**
rocket-chip/src/main/scala/amba/axi4/Credited.scala:12:64: not found: type Parameters
[error] class AXI4CreditedBuffer(delay: AXI4CreditedDelay)(implicit p: Parameters) extends LazyModule

I open the Credited.scala file, and found that `import freechips.rocketchip.config.Parameters`. But i can't find the config directory. Hope someone can tell me what i should do to resolve the error.

Contributor guide

Open the contributing guide

Research direction

Start with rocket-chip/src/main/scala/amba/axi4/Credited.scala and inspect how the build resolves the freechips.rocketchip.config.Parameters import. Run the Verilog build that produces the error and check whether the config source is present in the expected source tree. Done means the build can resolve Parameters without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.