From e0c3b22d61d0ef43493599a8ae06e576f5eff1ac Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Thu, 15 Feb 2018 14:23:27 -0800 Subject: [PATCH] RegFieldDesc: same string used to insert/compare --- src/main/scala/tilelink/RegisterRouter.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/tilelink/RegisterRouter.scala b/src/main/scala/tilelink/RegisterRouter.scala index dc5b6319..b194d8f5 100644 --- a/src/main/scala/tilelink/RegisterRouter.scala +++ b/src/main/scala/tilelink/RegisterRouter.scala @@ -116,7 +116,7 @@ case class TLRegisterNode( while( ElaborationArtefacts.contains(s"${base}.${suffix}.regmap.json")){ suffix = suffix + 1 } - ElaborationArtefacts.add(s"${base}.${suffix}regmap.json", pretty(render(json))) + ElaborationArtefacts.add(s"${base}.${suffix}.regmap.json", pretty(render(json))) } }