Skip to content

Commit 4a6ff1d

Browse files
authored
Bump emitted FIRRTL to 4.1.0 (#4513)
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 <[email protected]>
1 parent 65bbb39 commit 4a6ff1d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

firrtl/src/main/scala/firrtl/ir/Serializer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ object Serializer {
1515
val Indent = " "
1616

1717
// The version supported by the serializer.
18-
val version = Version(4, 0, 0)
18+
val version = Version(4, 1, 0)
1919

2020
/** Converts a `FirrtlNode` into its string representation with
2121
* default indentation.

firrtl/src/test/scala/firrtlTests/ExtModuleTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import firrtl.testutils._
88
class ExtModuleTests extends FirrtlFlatSpec {
99
"extmodule" should "serialize and re-parse equivalently" in {
1010
val input =
11-
"""|FIRRTL version 4.0.0
11+
"""|FIRRTL version 4.1.0
1212
|circuit Top :
1313
| extmodule Top :
1414
| input y : UInt<0>

src/test/scala/circtTests/stage/ChiselStageSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ class ChiselStageSpec extends AnyFunSpec with Matchers with chiselTests.Utils {
10891089

10901090
val text = ChiselStage.emitCHIRRTL(new ChiselStageSpec.Foo(hasDontTouch = true))
10911091
info("found a version string")
1092-
text should include("FIRRTL version 4.0.0")
1092+
text should include("FIRRTL version 4.1.0")
10931093
info("found an Annotation")
10941094
text should include("firrtl.transforms.DontTouchAnnotation")
10951095
info("found a circuit")

0 commit comments

Comments
 (0)