constellation icon indicating copy to clipboard operation
constellation copied to clipboard

report error when execute Minimal-Standalone Testing

Open TDppy opened this issue 11 months ago • 7 comments

I read Documentation: constellation.readthedocs.io. and follow the steps of

  • Installing Espresso
  • Installing Minimal-Standalone Then I git clone constellation and execute commands:
cd constellation
CONSTELLATION_STANDALONE=1 sbt "testOnly constellation.NoCTest00"

However,sbt report error: image Does the source code match the version of the documentation?How can I fix it and generate verilog succesfully?

TDppy avatar Mar 19 '24 02:03 TDppy

Thanks,I have fixed it by execute git checkout chisel356.

TDppy avatar Mar 19 '24 02:03 TDppy

I have encountered a new problem when execute commands:

cd constellation
CONSTELLATION_STANDALONE=1 sbt "testOnly constellation.NoCTest00"

It seems like verilator version is not compatible with constellation? image

TDppy avatar Mar 19 '24 03:03 TDppy

What version of verilator are you on?

jerryz123 avatar Mar 19 '24 03:03 jerryz123

What version of verilator are you on?

image

TDppy avatar Mar 19 '24 03:03 TDppy

Ah I think the chiseltest support for the newer verilators has finally stopped.

You can try the installing with Chipyard path. That is guaranteed to work.

jerryz123 avatar Mar 19 '24 03:03 jerryz123

Ah I think the chiseltest support for the newer verilators has finally stopped.

You can try the installing with Chipyard path. That is guaranteed to work. You mean I should install Chipyard and then simulate by that method ? image I am going to try it.

TDppy avatar Mar 19 '24 03:03 TDppy

Yes. Follow those directions

jerryz123 avatar Mar 19 '24 03:03 jerryz123

I meet the same problem,but I figure it out First, I run git checkout chisel365, this is my verilator version and build.sbt. verilator --version Verilator 4.218 2022-01-17 rev UNKNOWN.REV

name := "constellation" version := "0.1" scalaVersion := "2.13.10"

scalacOptions ++= Seq( "-language:reflectiveCalls", "-deprecation", "-feature" )

val standalone = sys.env.get("CONSTELLATION_STANDALONE").isDefined

// SNAPSHOT repositories libraryDependencies ++= (if (standalone) { Seq( "edu.berkeley.cs" %% "rocketchip" % "1.6.0", "edu.berkeley.cs" %% "cde" % "1.6.0", "edu.berkeley.cs" %% "rocket-macros" % "1.6.0", "edu.berkeley.cs" %% "chiseltest" % "0.5.4" % "test" ) } else { Nil })

addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin" % (if (standalone) "3.5.6" else "3.5.6") cross CrossVersion.full)

import Tests._

Test / fork := true Test / testGrouping := (Test / testGrouping).value.flatMap { group => group.tests.map { test => Group(test.name, Seq(test), SubProcess(ForkOptions())) } } concurrentRestrictions := Seq(Tags.limit(Tags.ForkedTestGroup, 72))

lillyfuge avatar Oct 04 '24 09:10 lillyfuge