From 8903c04c2d9b084bce5ab7a5930ee2579cce46b0 Mon Sep 17 00:00:00 2001 From: chick Date: Tue, 29 Sep 2020 10:59:48 -0700 Subject: [PATCH] - fix call to `ceilLog2` in macros --- macros/src/test/scala/MacroCompilerSpec.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macros/src/test/scala/MacroCompilerSpec.scala b/macros/src/test/scala/MacroCompilerSpec.scala index 0bc0f486..d8e0d2df 100644 --- a/macros/src/test/scala/MacroCompilerSpec.scala +++ b/macros/src/test/scala/MacroCompilerSpec.scala @@ -248,10 +248,10 @@ trait HasSimpleTestGenerator { val v = s"${generatorType}${extraTagPrefixed}.v" lazy val mem_name = "target_memory" - val mem_addr_width = ceilLog2(memDepth) + val mem_addr_width = MacroCompilerMath.ceilLog2(memDepth) lazy val lib_name = "awesome_lib_mem" - val lib_addr_width = ceilLog2(libDepth) + val lib_addr_width = MacroCompilerMath.ceilLog2(libDepth) // Override these to change the port prefixes if needed. def libPortPrefix: String = "lib"