Unable to generate Bool test and assignment to reset
See original GitHub issueHi, I’m using Chisel to create a design but I am experiencing an error. Until yesterday I was able to generate the Verilog but today I get this error :
[info] Updating {file:/home/dave/Documents/myfolder/}myfolder...
[warn] Choosing sonatype-snapshots for edu.berkeley.cs#chisel3_2.11;3.0-SNAPSHOT
[warn] Choosing sonatype-snapshots for edu.berkeley.cs#firrtl_2.11;1.0-SNAPSHOT
[warn] Choosing sonatype-snapshots for edu.berkeley.cs#chisel-iotesters_2.11;1.1-SNAPSHOT
[warn] Choosing sonatype-snapshots for edu.berkeley.cs#firrtl-interpreter_2.11;1.0-SNAPSHOT
[info] Done updating.
[warn] Found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[warn] * org.scalatest:scalatest_2.11:3.0.1 is selected over 2.2.5
[warn] +- edu.berkeley.cs:firrtl-interpreter_2.11:1.0-SNAPSHOT (depends on 3.0.1)
[warn] +- edu.berkeley.cs:chisel-iotesters_2.11:1.1-SNAPSHOT (depends on 3.0.1)
[warn] +- default:sdaccel_chisel_integration_2.11:1.0 (depends on 2.2.5)
[warn] * org.scalacheck:scalacheck_2.11:1.13.4 is selected over 1.12.4
[warn] +- edu.berkeley.cs:firrtl-interpreter_2.11:1.0-SNAPSHOT (depends on 1.13.4)
[warn] +- edu.berkeley.cs:chisel-iotesters_2.11:1.1-SNAPSHOT (depends on 1.13.4)
[warn] +- default:sdaccel_chisel_integration_2.11:1.0 (depends on 1.12.4)
[warn] Run 'evicted' to see detailed eviction warnings
[info] Compiling 5 Scala sources to /home/dave/Documents/myfolder/target/scala-2.11/classes ...
[error] /home/dave/Documents/myfolder/src/main/scala/package/MyClass.scala:39:22: value unary_! is not a member of chisel3.core.Reset
[error] slave_fsm.reset := !reset
[error] ^
[error] /home/dave/Documents/myfolder/src/main/scala/package/MyClass.scala:40:22: value unary_! is not a member of chisel3.core.Reset
[error] RTLKernel.reset := !reset
[error] ^
[error] two errors found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 15 s, completed Oct 19, 2017 12:39:29 PM
My build.sbt file is:
name := "chisel-module-template"
version := "1.0"
scalaVersion := "2.11.7"
parallelExecution := true
resolvers ++= Seq(
Resolver.sonatypeRepo("snapshots"),
Resolver.sonatypeRepo("releases")
)
// Provide a managed dependency on X if -DXVersion="" is supplied on the command line.
val defaultVersions = Map(
"chisel3" -> "3.0-SNAPSHOT",
"chisel-iotesters" -> "1.1-SNAPSHOT"
)
libraryDependencies ++= (Seq("chisel3","chisel-iotesters").map {
dep: String => "edu.berkeley.cs" %% dep % sys.props.getOrElse(dep + "Version", defaultVersions(dep)) })
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "2.2.5",
"org.scalacheck" %% "scalacheck" % "1.12.4")
Any suggestion? Does anyone knows how to solve it?
Thanks
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
objective c - Boolean Variable's value not change ...
You can't get TRUE value because in child class your alloc init . It create a new Instance . It's better to declare...
Read more >Solved [C++] bool Assignment / 1. Problem 1 Reset to Starter
Students will recall how to determine the parity of a number. Write a function to check whether or not an integer number is...
Read more >BuiltIn - Robot Framework
Using variables with keywords creating or accessing variables ... Fails the test with the given message and optionally alters its tags.
Read more >4.9 — Boolean values - Learn C++
In this case, because we entered true, std::cin silently failed. A failed input will also zero-out the variable, so b also gets assigned...
Read more >Header <boost/optional/optional.hpp> - Boost C++ Libraries
Returning a std::pair<T,bool>, thus attaching a boolean flag to the result which indicates if ... it is even possible to reset an optional...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As of release v3.0-SNAPSHOT_2017-09-14, Module
reset
is no longer a Bool. Although we do support atoBool
cast, connections ofBool
s toreset
s require a little more work. I would suggest the following:or, revert to release v3.0-SNAPSHOT_2017-08-16 by editing your
build.sbt
file:It looks like this has been resolved, I’m going to close it.