From d2b105079dcc949a9395eac493f1c12c9b86b1cd Mon Sep 17 00:00:00 2001 From: Edward Wang Date: Wed, 9 Aug 2017 12:58:43 -0700 Subject: [PATCH] Not a scaladoc --- macros/src/main/scala/MacroCompiler.scala | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/macros/src/main/scala/MacroCompiler.scala b/macros/src/main/scala/MacroCompiler.scala index be5f2475..20d288b8 100644 --- a/macros/src/main/scala/MacroCompiler.scala +++ b/macros/src/main/scala/MacroCompiler.scala @@ -88,10 +88,8 @@ class MacroCompilerPass(mems: Option[Seq[Macro]], for (memBit <- 0 until mem.src.width) { val bitsInCurrentMem = memBit - currentLSB - /** - * Helper function to check if it's time to split memories. - * @param effectiveLibWidth Split memory when we have this many bits. - */ + // Helper function to check if it's time to split memories. + // @param effectiveLibWidth Split memory when we have this many bits. def splitMemory(effectiveLibWidth: Int): Unit = { if (bitsInCurrentMem == effectiveLibWidth) { bitPairs += ((currentLSB, memBit - 1))