I was writing a simple switch-case for my state machine. However, after calling sbt test
I receive the following error:
Asked
Active
Viewed 167 times
0

milad hakimi
- 18
- 3
-
2Please, add error traces in text, not as screenshot picture. And give us the source code that fail. – FabienM Jan 21 '22 at 08:19
1 Answers
2
It's very important to include the version of Chisel and your code when asking a question, but fortunately this one rings a bell as https://github.com/chipsalliance/chisel3/pull/1595.
You can workaround this by importing chisel3.util._
. The better solution would be to update your version of Chisel, this bug is fixed in versions v3.2.8, v3.3.3, and v3.4.0 (and newer).

Jack Koenig
- 5,840
- 15
- 21