1
0

tilelink2 LazyModule: remove obsolete connect method

This commit is contained in:
Wesley W. Terpstra 2016-09-29 14:33:54 -07:00
parent f2e438833c
commit cfdb8ca797

View File

@ -16,11 +16,6 @@ abstract class LazyModule
LazyModule.stack = this :: LazyModule.stack LazyModule.stack = this :: LazyModule.stack
parent.foreach(p => p.children = this :: p.children) parent.foreach(p => p.children = this :: p.children)
// Use as: connect(source -> sink, source2 -> sink2, ...)
def connect[PO, PI, EO, EI, B <: Data](edges: (BaseNode[PO, PI, EO, EI, B], BaseNode[PO, PI, EO, EI, B])*)(implicit sourceInfo: SourceInfo) = {
edges.foreach { case (source, sink) => sink := source }
}
def name = getClass.getName.split('.').last def name = getClass.getName.split('.').last
def line = sourceLine(info) def line = sourceLine(info)