From bbe94c93edd6a5ab5a721ffa77cdd09e3b6e28d7 Mon Sep 17 00:00:00 2001 From: Nico Machado Date: Thu, 19 Aug 2021 11:13:32 -0700 Subject: [PATCH] Fix build on scala 2.13 --- .../scala/firrtl/backends/experimental/rtlil/RtlilEmitter.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/firrtl/backends/experimental/rtlil/RtlilEmitter.scala b/src/main/scala/firrtl/backends/experimental/rtlil/RtlilEmitter.scala index 5c78e8584a..2e1322c954 100644 --- a/src/main/scala/firrtl/backends/experimental/rtlil/RtlilEmitter.scala +++ b/src/main/scala/firrtl/backends/experimental/rtlil/RtlilEmitter.scala @@ -756,7 +756,7 @@ private[firrtl] class RtlilEmitter extends SeqTransform with Emitter with Depend } case MemoryScalarInit(value) => - for (addr <- (0 until depth.intValue())) { + for (addr <- (0 until depth.intValue)) { initials ++= emit_cell( i, "$meminit_v2",