I followed the instructions in that post, But, when I rebuild the project using the intellij, there are a lot of errors:
all {file:/home/jerry/rocketchipGen/newRocketIntellij/}core/products {file:/home/jerry/rocketchipGen/newRocketIntellij/}core/test:products {file:/home/jerry/rocketchipGen/newRocketIntellij/}chisel/products {file:/home/jerry/rocketchipGen/newRocketIntellij/}chisel/test:products {file:/home/jerry/rocketchipGen/newRocketIntellij/}rocketchip/products {file:/home/jerry/rocketchipGen/newRocketIntellij/}rocketchip/test:products {file:/home/jerry/rocketchipGen/newRocketIntellij/}docs/products {file:/home/jerry/rocketchipGen/newRocketIntellij/}docs/test:products {file:/home/jerry/rocketchipGen/newRocketIntellij/}api-config-chipsalliance/products {file:/home/jerry/rocketchipGen/newRocketIntellij/}api-config-chipsalliance/test:products {file:/home/jerry/rocketchipGen/newRocketIntellij/}hardfloat/products {file:/home/jerry/rocketchipGen/newRocketIntellij/}hardfloat/test:products {file:/home/jerry/rocketchipGen/newRocketIntellij/}macros/products {file:/home/jerry/rocketchipGen/newRocketIntellij/}macros/test:products {file:/home/jerry/rocketchipGen/newRocketIntellij/}rocket-macros/products {file:/home/jerry/rocketchipGen/newRocketIntellij/}rocket-macros/test:products
[warn] Multiple main classes detected. Run 'show discoveredMainClasses' to see the list
[info] Compiling 3 Scala sources to /home/jerry/rocketchipGen/newRocketIntellij/target/scala-2.12/test-classes ...
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/linting/rule/LintConflictingModuleNamesSpec.scala:7:15: object testutils is not a member of package firrtl
[error] import firrtl.testutils.{FirrtlMatchers, FirrtlPropSpec}
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/linting/rule/LintConflictingModuleNamesSpec.scala:12:46: not found: type FirrtlPropSpec
[error] class LintConflictingModuleNamesSpec extends FirrtlPropSpec with FirrtlMatchers {
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/linting/rule/LintConflictingModuleNamesSpec.scala:12:66: not found: type FirrtlMatchers
[error] class LintConflictingModuleNamesSpec extends FirrtlPropSpec with FirrtlMatchers {
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/linting/rule/LintConflictingModuleNamesSpec.scala:30:3: not found: value property
[error] property("It should emit LintViolations for conflicting DesiredNameAnnotations") {
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/linting/rule/LintConflictingModuleNamesSpec.scala:55:24: value should is not a member of Seq[Set[String]]
[error] conflictingModules should be (Seq(Set("Bar_1", "Bar_2")))
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/linting/rule/LintConflictingModuleNamesSpec.scala:55:31: not found: value be
[error] conflictingModules should be (Seq(Set("Bar_1", "Bar_2")))
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/linting/rule/LintConflictingModuleNamesSpec.scala:58:3: not found: value property
[error] property("It should catch LintViolations not fixed by with RenameDesiredNames") {
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/linting/rule/LintConflictingModuleNamesSpec.scala:82:24: value should is not a member of Seq[Set[String]]
[error] conflictingModules should be (Seq(Set("Bar_1", "Bar_2")))
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/linting/rule/LintConflictingModuleNamesSpec.scala:82:31: not found: value be
[error] conflictingModules should be (Seq(Set("Bar_1", "Bar_2")))
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/linting/rule/LintConflictingModuleNamesSpec.scala:85:3: not found: value property
[error] property("RenameDesiredNames should be able to fix LintViolations") {
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/linting/rule/LintConflictingModuleNamesSpec.scala:109:24: value should is not a member of Seq[Set[String]]
[error] conflictingModules should be (Seq())
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/linting/rule/LintConflictingModuleNamesSpec.scala:109:31: not found: value be
[error] conflictingModules should be (Seq())
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:7:15: object testutils is not a member of package firrtl
[error] import firrtl.testutils.{FirrtlMatchers, FirrtlPropSpec}
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:19:38: not found: type FirrtlPropSpec
[error] class RenameDesiredNamesSpec extends FirrtlPropSpec with FirrtlMatchers {
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:19:58: not found: type FirrtlMatchers
[error] class RenameDesiredNamesSpec extends FirrtlPropSpec with FirrtlMatchers {
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:54:25: value should is not a member of Seq[freechips.rocketchip.transforms.naming.StableNameAnnotation]
[error] currStableNames should be (stable)
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:54:32: not found: value be
[error] currStableNames should be (stable)
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:55:27: value should is not a member of Seq[freechips.rocketchip.transforms.naming.UnstableNameAnnotation]
[error] currUnstableNames should not be (unstable)
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:55:34: not found: value not
[error] currUnstableNames should not be (unstable)
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:60:3: not found: value property
[error] property("It should rename modules if it can and ignore strategies which fail to result in unique names") {
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:103:25: value should is not a member of firrtl.ir.Circuit
[error] outputState.circuit should be (Parser.parse(check))
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:103:32: not found: value be
[error] outputState.circuit should be (Parser.parse(check))
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:107:74: value should is not a member of Seq[firrtl.annotations.Annotation]
[error] outputState.annotations.filterNot(_.isInstanceOf[DeletedAnnotation]) should be (Seq(
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:107:81: not found: value be
[error] outputState.annotations.filterNot(_.isInstanceOf[DeletedAnnotation]) should be (Seq(
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:114:3: not found: value property
[error] property("It should keep modules names stable between runs") {
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:169:3: not found: value property
[error] property("It should error if renaming to an already existing module name") {
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:189:5: not found: value an
[error] an [Exception] should be thrownBy renameNames(testCase)
[error] ^
[error] /home/jerry/rocketchipGen/newRocketIntellij/src/test/scala/transforms/naming/RenameDesiredNamesSpec.scala:189:27: not found: value be
[error] an [Exception] should be thrownBy renameNames(testCase)
[error] ^
[error] 28 errors found
[error] (Test / compileIncremental) Compilation failed
[error] Total time: 4 s, completed Sep 13, 2020, 9:13:13 PM
[IJ]sbt:rocketchip>
sames that all problems happened in the firrtl module, i have no idea why the firrtl is not an subproject of chisel. Instead it publishLocal, and then chisel can use it. Can you further clarify this? thanks