Skip to content

Commit

Permalink
Bump emitted FIRRTL to 4.1.0
Browse files Browse the repository at this point in the history
FIRRTL spec version 4.0.0 was released.  Chisel is currently emitting
things _beyond_ this and it should now mark the emitted FIRRTL as being
4.1.0.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
  • Loading branch information
seldridge committed Nov 17, 2024
1 parent 32fa608 commit 956472f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion firrtl/src/main/scala/firrtl/ir/Serializer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ object Serializer {
val Indent = " "

// The version supported by the serializer.
val version = Version(4, 0, 0)
val version = Version(4, 1, 0)

/** Converts a `FirrtlNode` into its string representation with
* default indentation.
Expand Down
2 changes: 1 addition & 1 deletion firrtl/src/test/scala/firrtlTests/ExtModuleTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import firrtl.testutils._
class ExtModuleTests extends FirrtlFlatSpec {
"extmodule" should "serialize and re-parse equivalently" in {
val input =
"""|FIRRTL version 4.0.0
"""|FIRRTL version 4.1.0
|circuit Top :
| extmodule Top :
| input y : UInt<0>
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/circtTests/stage/ChiselStageSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ class ChiselStageSpec extends AnyFunSpec with Matchers with chiselTests.Utils {

val text = ChiselStage.emitCHIRRTL(new ChiselStageSpec.Foo(hasDontTouch = true))
info("found a version string")
text should include("FIRRTL version 4.0.0")
text should include("FIRRTL version 4.1.0")
info("found an Annotation")
text should include("firrtl.transforms.DontTouchAnnotation")
info("found a circuit")
Expand Down

0 comments on commit 956472f

Please sign in to comment.