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"