From 7f683eeb24f35dcae473c6887d152cf972135cb5 Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Thu, 24 Aug 2017 15:33:53 -0700 Subject: [PATCH] async_regs: Make modules have predictable names --- src/main/scala/util/AsyncResetReg.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/scala/util/AsyncResetReg.scala b/src/main/scala/util/AsyncResetReg.scala index 532fdcb0..0af3e693 100644 --- a/src/main/scala/util/AsyncResetReg.scala +++ b/src/main/scala/util/AsyncResetReg.scala @@ -63,6 +63,9 @@ class AsyncResetRegVec(val w: Int, val init: BigInt) extends Module { } io.q := q.asUInt + + override def desiredName = s"AsyncResetRegVec_w${w}_i${init}" + } object AsyncResetReg {