THU-DSP-LAB/ventus-gpgpu

When we use command "make compile", here report the following errors: val config = chipsalliance.rocketchip.config

bigdot123456 opened this issue · 1 comments

This is a report for a completely new ubuntu environment. I format the machine and install all package from scratch.
Maybe chipsalliance path is not included in file build.sc. Please correct it.

  • Configuration as following:
  1. Ubuntu version: 20.04 LTS

(base) wx@wx-TianYi510Pro-14IOB:~/git/ventus-gpgpu$ uname -a
Linux wx-TianYi510Pro-14IOB 5.14.0-1058-oem #66-Ubuntu SMP Fri Feb 10 09:46:18 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

  1. java version:

(base) wx@wx-TianYi510Pro-14IOB:~/git/ventus-gpgpu$ java -version
openjdk version "11.0.20" 2023-07-18
OpenJDK Runtime Environment (build 11.0.20+8-post-Ubuntu-1ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.20+8-post-Ubuntu-1ubuntu120.04, mixed mode, sharing)

  1. mill version

(base) wx@wx-TianYi510Pro-14IOB:~/git/ventus-gpgpu$ ./mill version
[1/1] version
0.10.8

  • reports:

(base) wx@wx-TianYi510Pro-14IOB:~/git/ventus-gpgpu$ ./mill -i -j 0 __.compile
[#8] [344/374] foreign-modules.dependencies.fpuv2.fudian.fudian.compile
[#6] [info] compiling 1 Scala source to /home/wx/git/ventus-gpgpu/out/foreign-modules/dependencies/cde/cde/tests/compile.dest/classes ...
[#7] [info] compiling 339 Scala sources to /home/wx/git/ventus-gpgpu/out/myrocketchip/compile.dest/classes ...
[#11] [info] compiling 13 Scala sources to /home/wx/git/ventus-gpgpu/out/foreign-modules/dependencies/berkeley-hardfloat/hardfloat/test/compile.dest/classes ...
[#8] [info] compiling 17 Scala sources to /home/wx/git/ventus-gpgpu/out/foreign-modules/dependencies/fpuv2/fudian/fudian/compile.dest/classes ...

[#7] [error] /home/wx/git/ventus-gpgpu/dependencies/rocket-chip/src/main/scala/package.scala:6:16: not found: value chipsalliance
[#7] [error] val config = chipsalliance.rocketchip.config
[#7] [error] ^
[#7] [error] /home/wx/git/ventus-gpgpu/dependencies/rocket-chip/src/main/scala/amba/ahb/AHBLite.scala:9:29: not found: type Parameters
[#7] [error] class AHBLite()(implicit p: Parameters) extends LazyModule {
[#7] [error] ^
[#7] [error] /home/wx/git/ventus-gpgpu/dependencies/rocket-chip/src/main/scala/diplomacy/LazyModule.scala:28:45: not found: type Parameters
[#7] [error] abstract class LazyModule()(implicit val p: Parameters) {
[#7] [error] ^
[#7] [error] /home/wx/git/ventus-gpgpu/dependencies/rocket-chip/src/main/scala/diplomacy/LazyModule.scala:269:19: not found: type Parameters
[#7] [error] implicit val p: Parameters = wrapper.p
[#7] [error] ^
[#7] [error] /home/wx/git/ventus-gpgpu/dependencies/rocket-chip/src/main/scala/amba/ahb/Parameters.scala:127:11: not found: type Parameters
[#7] [error] params: Parameters,
[#7] [error] ^
[#6] [info] done compiling
[#7] [error] /home/wx/git/ventus-gpgpu/dependencies/rocket-chip/src/main/scala/amba/ahb/AHBLite.scala:38:27: not found: type Parameters
[#7] [error] def apply()(implicit p: Parameters) = {
[#7] [error] ^
[#7] [error] /home/wx/git/ventus-gpgpu/dependencies/rocket-chip/src/main/scala/amba/ahb/Nodes.scala:10:44: not found: type Field
[#7] [error] case object AHBSlaveMonitorBuilder extends Field[AHBSlaveMonitorArgs => AHBSlaveMonitorBase]
[#7] [error] ^
[#7] [error] /home/wx/git/ventus-gpgpu/dependencies/rocket-chip/src/main/scala/amba/ahb/Nodes.scala:15:72: not found: type Parameters
[#7] [error] def edge(pd: AHBMasterPortParameters, pu: AHBSlavePortParameters, p: Parameters, sourceInfo: SourceInfo) = AHBEdgeParameters(pd, pu, p, sourceInfo)
[#7] [error] ^
[#7] [error] /home/wx/git/ventus-gpgpu/dependencies/rocket-chip/src/main/scala/diplomacy/Nodes.scala:173:29: not found: type Parameters
[#7] [error] def edge(pd: D, pu: U, p: Parameters, sourceInfo: SourceInfo): E
[#7] [error] ^

just use make patch command to close the bug.
Here is the compile message:

(base) wx@wx-TianYi510Pro-14IOB:~/git/ventus-gpgpu$ !182
./mill -i -j 0 __.compile
[#3] [355/374] myrocketchip.compile
[#3] [info] compiling 339 Scala sources to /home/wx/git/ventus-gpgpu/out/myrocketchip/compile.dest/classes ...
[#3] [warn] two deprecations
[#3] [warn] 40 deprecations (since CDE 0.1)
[#3] [warn] 314 deprecations (since Chisel 3.5)
[#3] [warn] 16 deprecations (since FIRRTL 1.4)
[#3] [warn] one deprecation (since FIRRTL 1.5)
[#3] [warn] 373 deprecations in total; re-run with -deprecation for details
[#3] [warn] 2657 feature warnings; re-run with -feature for details
[#3] [warn] 7 warnings found
[#3] [info] done compiling
[#9] [364/374] inclusivecache.compile
[#7] [info] compiling 3 Scala sources to /home/wx/git/ventus-gpgpu/out/myrocketchip/test/compile.dest/classes ...
[#9] [info] compiling 20 Scala sources to /home/wx/git/ventus-gpgpu/out/inclusivecache/compile.dest/classes ...
[#7] [warn] three deprecations (since FIRRTL 1.3); re-run with -deprecation for details
[#7] [warn] one warning found
[#7] [info] done compiling
[#9] [warn] four deprecations
[#9] [warn] two deprecations (since CDE 0.1)
[#9] [warn] 25 deprecations (since Chisel 3.5)
[#9] [warn] 31 deprecations in total; re-run with -deprecation for details
[#9] [warn] 648 feature warnings; re-run with -feature for details
[#9] [warn] 5 warnings found
[#9] [info] done compiling
[#2] [369/374] ventus.compile
[#2] [info] compiling 90 Scala sources to /home/wx/git/ventus-gpgpu/out/ventus/compile.dest/classes ...
[#2] [warn] 141 deprecations (since Chisel 3.5); re-run with -deprecation for details
[#2] [warn] one warning found
[#2] [info] done compiling
[#5] [374/374] ventus.tests.compile
[#5] [info] compiling 1 Scala source to /home/wx/git/ventus-gpgpu/out/ventus/tests/compile.dest/classes ...
[#5] [info] done compiling