diff options
| author | Albert Magyar | 2019-02-04 18:54:23 -0800 |
|---|---|---|
| committer | GitHub | 2019-02-04 18:54:23 -0800 |
| commit | 7ec7125eab13c43a49b9a26003c9e90413df3336 (patch) | |
| tree | 9d3c1649c1e61551ea2ed92b624fbff4f05fcd7f /src | |
| parent | 88c4a665ebba54b46b1d72a3d294f9ab27b96bbc (diff) | |
Correct Kind info from #1010 (#1012)
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/scala/firrtl/WIR.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |
