Skip to content

Commit

Permalink
Bump emitted FIRRTL to 3.3.0
Browse files Browse the repository at this point in the history
Change the reported version of Chisel-emitted FIRRTL to 3.3.0.  Version
3.2.0 includes groups and Chisel is currently emitting things that are not
in a spec version yet, e.g., property lists.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
  • Loading branch information
seldridge committed Sep 28, 2023
1 parent a04cb2e commit 556b2ca
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(3, 2, 0)
val version = Version(3, 3, 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 3.2.0
"""|FIRRTL version 3.3.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 @@ -977,7 +977,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 3.2.0")
text should include("FIRRTL version 3.3.0")
info("found an Annotation")
text should include("firrtl.transforms.DontTouchAnnotation")
info("found a circuit")
Expand Down

0 comments on commit 556b2ca

Please sign in to comment.