You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling the example as described in README.md, I get the following error:
[error] ModuleBuilderTest.scala:8:7: overriding value modules in class ModuleBuilder of type Seq[chisel.packaging.ModuleDef];
[error] value modules has incompatible type
[error] val modules: List[(() => Module, CoreDefinition)] = List(
[error] ^
[error] one error found
The following declaration of val modules in ModuleBuilderTest.scala fixes the issue:
val modules: List[ModuleDef] = List(
ModuleDef(null, // test module
() => TestModule,
CoreDefinition(
name = "TestModule",
vendor = "esa.cs.tu-darmstadt.de",
library = "chisel",
version = "1.0",
root("TestModule")
)
)
The text was updated successfully, but these errors were encountered:
When compiling the example as described in README.md, I get the following error:
The following declaration of
val modules
in ModuleBuilderTest.scala fixes the issue:The text was updated successfully, but these errors were encountered: