Jiuyang Liu

Results 340 comments of Jiuyang Liu

Have a try with this pass(may work, not sure.): ```scala class CustomRename(nameMap: Map[String, String]) extends ManipulateNames { override def manipulate = (n: String, ns: Namespace) => nameMap.get(n).map(ns.newName) } ``` I...

try to add this to your module(also not tried): ```scala import chisel3.experimental.{annotate, ChiselAnnotation} annotate(new ChiselAnnotation { def toFirrtl = CustomRename(Map("Queue", "QueueWithBetterName")) }) ```

I see, this has been done in rocket-chip with `Aspect`. Take a look at `freechips.rocketchip.aspects.RenameModulesAspect`

You can submit a PR to FIRRTL, then we can help you debugging your issue;)

It's a private API. So I directly skip the deprecation flow

OK, I'll try to fix it. (I think we should catch it in our CI as well.)

ask @jackkoenig to see if this changing is appropriate. If true, I'll continue fixing the tests.