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

problem with compiling CONSTELLATION_STANDALONE=1 sbt "testOnly constellation.NoCTest00" #77

Open
SoCScholar opened this issue Nov 19, 2024 · 1 comment

Comments

@SoCScholar
Copy link

SoCScholar commented Nov 19, 2024

Hi

i get the errors while compiling with Minimal-Standalone Testing

it does not work when i write following CLI.

CONSTELLATION_STANDALONE=1 sbt "testOnly constellation.NoCTest00"

 /1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation$ CONSTELLATION_STANDALONE=1 sbt "testOnly constellation.NoCTest00"
[info] welcome to sbt 1.4.9 (Ubuntu Java 11.0.25)
[info] loading project definition from /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/project
[info] loading settings for project constellation from build.sbt ...
[info] set current project to constellation (in build file:/home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/)
[info] compiling 42 Scala sources to /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/target/scala-2.13/classes ...
[error] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/channel/Nodes.scala:4:8: object SourceInfo is not a member of package chisel3.experimental
[error] import chisel3.experimental.SourceInfo
[error]        ^
[error] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/channel/Channel.scala:7:8: object ClockCrossingType is not a member of package freechips.rocketchip.prci
[error] import freechips.rocketchip.prci.{ClockCrossingType, NoCrossing}
[error]        ^
[error] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/channel/Nodes.scala:13:75: not found: type SourceInfo
[error]   def edge(pd: EmptyParams, pu: ChannelParams, p: Parameters, sourceInfo: SourceInfo) = {
[error]                                                                           ^
[error] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/channel/Nodes.scala:42:82: not found: type SourceInfo
[error]   def edge(pd: EmptyParams, pu: IngressChannelParams, p: Parameters, sourceInfo: SourceInfo) = {
[error]                                                                                  ^
[error] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/channel/Nodes.scala:54:81: not found: type SourceInfo
[error]   def edge(pd: EmptyParams, pu: EgressChannelParams, p: Parameters, sourceInfo: SourceInfo) = {
[error]                                                                                 ^
[error] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/channel/Parameters.scala:7:8: object ClockCrossingType is not a member of package freechips.rocketchip.prci
[error] import freechips.rocketchip.prci.{ClockCrossingType, NoCrossing}
[error]        ^
[error] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/channel/Parameters.scala:26:17: not found: type ClockCrossingType
[error]   crossingType: ClockCrossingType = NoCrossing,
[error]                 ^
[error] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/channel/Parameters.scala:26:37: not found: value NoCrossing
[error]   crossingType: ClockCrossingType = NoCrossing,
[error]                                     ^
[warn] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/noc/Parameters.scala:249:42: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method subsets,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.
[warn]         val blockeeSets = blockees.toSet.subsets.filter(_.size > 0)
[warn]                                          ^
[warn] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/protocol/AXI4.scala:390:27: procedure syntax is deprecated: instead, add `: Unit =` to explicitly declare `printNodeMappings`'s return type
[warn]   def printNodeMappings() {
[warn]                           ^
[warn] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/protocol/Protocol.scala:59:44: procedure syntax is deprecated: instead, add `: Unit` to explicitly declare `interface`'s return type
[warn]     protocol: Data)(implicit p: Parameters)
[warn]                                            ^
[error] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/protocol/Tilelink.scala:238:12: value squeezeAll is not a member of type parameter T
[error]     l.bits.squeezeAll.waiveAll :<>= r.bits.squeezeAll.waiveAll
[error]            ^
[error] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/protocol/Tilelink.scala:238:44: value squeezeAll is not a member of type parameter T
[error]     l.bits.squeezeAll.waiveAll :<>= r.bits.squeezeAll.waiveAll
[error]                                            ^
[warn] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/protocol/Tilelink.scala:519:27: procedure syntax is deprecated: instead, add `: Unit =` to explicitly declare `printNodeMappings`'s return type
[warn]   def printNodeMappings() {
[warn]                           ^
[warn] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/router/ControlUnit.scala:33:28: procedure syntax is deprecated: instead, add `: Unit =` to explicitly declare `r`'s return type
[warn]   def r(t: Int, reg: UInt) {
[warn]                            ^
[warn] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/router/ControlUnit.scala:37:29: procedure syntax is deprecated: instead, add `: Unit =` to explicitly declare `rw`'s return type
[warn]   def rw(t: Int, reg: UInt) {
[warn]                             ^
[warn] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/test/AXI4TestHarness.scala:77:57: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method serialize_cHeader,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.
[warn]   ElaborationArtefacts.add("plusArgs", PlusArgArtefacts.serialize_cHeader)
[warn]                                                         ^
[warn] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/test/TLTestHarness.scala:68:57: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method serialize_cHeader,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.
[warn]   ElaborationArtefacts.add("plusArgs", PlusArgArtefacts.serialize_cHeader)
[warn]                                                         ^
[warn] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/test/TestHarness.scala:294:57: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method serialize_cHeader,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.
[warn]   ElaborationArtefacts.add("plusArgs", PlusArgArtefacts.serialize_cHeader)
[warn]                                                         ^
[warn] /home/himal/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation/src/main/scala/test/TrafficEvalHarness.scala:159:57: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method serialize_cHeader,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.
[warn]   ElaborationArtefacts.add("plusArgs", PlusArgArtefacts.serialize_cHeader)
[warn]                                                         ^
[warn] 10 warnings found
[error] 10 errors found
[error] (Compile / compileIncremental) Compilation failed
[error] Total time: 12 s, completed Nov 19, 2024, 11:45:55 AM
himal@himal-ThinkPad:~/1_Gitlab_Software_code/NoC_Constellation_Rocketchip/chipyard/generators/constellation$ 

@jerryz123
Copy link
Collaborator

Sorry, standalone builds aren't supported anymore. The docs page should now be updated to reflect that.

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

2 participants