From 7ec7125eab13c43a49b9a26003c9e90413df3336 Mon Sep 17 00:00:00 2001 From: Albert Magyar Date: Mon, 4 Feb 2019 18:54:23 -0800 Subject: Correct Kind info from #1010 (#1012) --- src/main/scala/firrtl/WIR.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/scala/firrtl/WIR.scala b/src/main/scala/firrtl/WIR.scala index c69d227c..7e873c08 100644 --- a/src/main/scala/firrtl/WIR.scala +++ b/src/main/scala/firrtl/WIR.scala @@ -45,7 +45,7 @@ object WRef { /** Creates a WRef from a WDefInstance */ def apply(wi: WDefInstance): WRef = new WRef(wi.name, wi.tpe, InstanceKind, UNKNOWNGENDER) /** Creates a WRef from a DefMemory */ - def apply(mem: DefMemory): WRef = new WRef(mem.name, passes.MemPortUtils.memType(mem), WireKind, UNKNOWNGENDER) + def apply(mem: DefMemory): WRef = new WRef(mem.name, passes.MemPortUtils.memType(mem), MemKind, UNKNOWNGENDER) /** Creates a WRef from an arbitrary string name */ def apply(n: String, t: Type = UnknownType, k: Kind = ExpKind): WRef = new WRef(n, t, k, UNKNOWNGENDER) } -- cgit v1.2.3