Not a scaladoc
This commit is contained in:
@@ -88,10 +88,8 @@ class MacroCompilerPass(mems: Option[Seq[Macro]],
|
|||||||
for (memBit <- 0 until mem.src.width) {
|
for (memBit <- 0 until mem.src.width) {
|
||||||
val bitsInCurrentMem = memBit - currentLSB
|
val bitsInCurrentMem = memBit - currentLSB
|
||||||
|
|
||||||
/**
|
// Helper function to check if it's time to split memories.
|
||||||
* Helper function to check if it's time to split memories.
|
// @param effectiveLibWidth Split memory when we have this many bits.
|
||||||
* @param effectiveLibWidth Split memory when we have this many bits.
|
|
||||||
*/
|
|
||||||
def splitMemory(effectiveLibWidth: Int): Unit = {
|
def splitMemory(effectiveLibWidth: Int): Unit = {
|
||||||
if (bitsInCurrentMem == effectiveLibWidth) {
|
if (bitsInCurrentMem == effectiveLibWidth) {
|
||||||
bitPairs += ((currentLSB, memBit - 1))
|
bitPairs += ((currentLSB, memBit - 1))
|
||||||
|
|||||||
Reference in New Issue
Block a user