示例#1
0
 public static void bind(ref TraceFetcherMasterPorts msp, ref TraceFetcherSlavePort slp)
 {
     // bind on the level of the base ports
     Debug.Assert(!ports.Contains(msp as Port));
     Debug.Assert(!ports.Contains(slp as Port));
     msp.bind(ref slp);
     slp.bind(ref msp);
     ports.Add(msp);
     ports.Add(slp);
 }
示例#2
0
 public void bind(ref TraceFetcherMasterPorts master_port)
 {
     _baseMasterPort = master_port;
     _masterPort     = master_port;
 }
示例#3
0
 /**
  * Called by the master port to unbind. Should never be called
  * directly.
  */
 public override void unbind()
 {
     _baseMasterPort = null;
     _masterPort     = null;
 }
示例#4
0
 public TraceFetcherSlavePort(string name, PortID id = PortID.MaxValue) : base(name, id)
 {
     _masterPort = null;
 }