From ce12a64f4b4fb74d40b3cab79d80fbc7e25c67a2 Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Fri, 19 May 2017 14:55:04 -0700 Subject: [PATCH] tilelink2: support SplitterNodes --- src/main/scala/uncore/tilelink2/Nodes.scala | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/scala/uncore/tilelink2/Nodes.scala b/src/main/scala/uncore/tilelink2/Nodes.scala index 8ce68deb..3857812c 100644 --- a/src/main/scala/uncore/tilelink2/Nodes.scala +++ b/src/main/scala/uncore/tilelink2/Nodes.scala @@ -92,6 +92,13 @@ case class TLNexusNode( numManagerPorts: Range.Inclusive = 1 to 999) extends NexusNode(TLImp)(clientFn, managerFn, numClientPorts, numManagerPorts) +case class TLSplitterNode( + clientFn: SplitterArg[TLClientPortParameters] => Seq[TLClientPortParameters], + managerFn: SplitterArg[TLManagerPortParameters] => Seq[TLManagerPortParameters], + numClientPorts: Range.Inclusive = 0 to 999, + numManagerPorts: Range.Inclusive = 0 to 999) + extends SplitterNode(TLImp)(clientFn, managerFn, numClientPorts, numManagerPorts) + // Nodes passed from an inner module case class TLOutputNode() extends OutputNode(TLImp) case class TLInputNode() extends InputNode(TLImp)