Example #1
0
 public static void FindAll(IEnumerable<Signal> rootSignals, bool ignoreHold, out SignalSet signals, out PortSet ports)
 {
     CollectVisitor visitor = new CollectVisitor();
     AllSpanningTreeStrategy.Instance.Traverse(rootSignals, visitor, ignoreHold);
     signals = visitor.Signals;
     ports = visitor.Ports;
 }
Example #2
0
 public static PortSet FindAllPorts(Port rootPort, bool ignoreHold)
 {
     CollectVisitor visitor = new CollectVisitor();
     AllPortsStrategy.Instance.Traverse(rootPort, visitor, ignoreHold);
     return visitor.Ports;
 }
Example #3
0
 public static PortSet FindAllPorts(IEnumerable<Signal> rootSignals, bool ignoreHold)
 {
     CollectVisitor visitor = new CollectVisitor();
     AllPortsStrategy.Instance.Traverse(rootSignals, visitor, ignoreHold);
     return visitor.Ports;
 }
Example #4
0
 public static SignalSet FindAllSignals(Signal rootSignal, bool ignoreHold)
 {
     CollectVisitor visitor = new CollectVisitor();
     AllSignalsStrategy.Instance.Traverse(rootSignal, visitor, ignoreHold);
     return visitor.Signals;
 }