From 72afdefd0f2e894d5dfe346aae36a23b2fd25def Mon Sep 17 00:00:00 2001 From: Albert Magyar Date: Mon, 19 Apr 2021 08:50:18 -0700 Subject: Don't use declaration-assigns for wires representing mem ports (#2189) * Fixes #2173--- src/test/scala/firrtlTests/InfoSpec.scala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/test') diff --git a/src/test/scala/firrtlTests/InfoSpec.scala b/src/test/scala/firrtlTests/InfoSpec.scala index db4828f6..43fb6ee1 100644 --- a/src/test/scala/firrtlTests/InfoSpec.scala +++ b/src/test/scala/firrtlTests/InfoSpec.scala @@ -91,11 +91,11 @@ class InfoSpec extends FirrtlFlatSpec with FirrtlMatchers { result should containTree { case DefMemory(Info1, "m", _, _, _, _, _, _, _, _) => true } result should containLine(s"reg [7:0] m [0:31]; //$Info1") result should containLine(s"wire [7:0] m_r_data; //$Info1") - result should containLine(s"wire [4:0] m_r_addr = addr; //$Info1") - result should containLine(s"wire [7:0] m_w_data = 8'h0; //$Info1") - result should containLine(s"wire [4:0] m_w_addr = addr; //$Info1") - result should containLine(s"wire m_w_mask = 1'h0; //$Info1") - result should containLine(s"wire m_w_en = 1'h0; //$Info1") + result should containLine(s"wire [4:0] m_r_addr; //$Info1") + result should containLine(s"wire [7:0] m_w_data; //$Info1") + result should containLine(s"wire [4:0] m_w_addr; //$Info1") + result should containLine(s"wire m_w_mask; //$Info1") + result should containLine(s"wire m_w_en; //$Info1") result should containLine(s"assign m_r_data = m[m_r_addr]; //$Info1") result should containLine(s"m[m_w_addr] <= m_w_data; //$Info1") } -- cgit v1.2.3