chipsalliance / rocket-chip

Rocket Chip Generator
Other
3.08k stars 1.09k forks source link

parameter not find in freechips.rocketchip.config #3603

Open tangjiaping opened 3 months ago

tangjiaping commented 3 months ago

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.

cap-oglu commented 3 months ago

Are you sure about that? import org.chipsalliance.cde.config.Parameters should be the correct import. Maybe you are using older version of Rocketchip. Look this commit "https://github.com/chipsalliance/rocket-chip/commit/b6bf0bc4452644613d3227ca25a813e671856602"