Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public void bind(ref TraceFetcherMasterPorts master_port)
 {
     _baseMasterPort = master_port;
     _masterPort     = master_port;
 }
Exemplo n.º 3
0
 /**
  * Called by the master port to unbind. Should never be called
  * directly.
  */
 public override void unbind()
 {
     _baseMasterPort = null;
     _masterPort     = null;
 }
Exemplo n.º 4
0
 public TraceFetcherSlavePort(string name, PortID id = PortID.MaxValue) : base(name, id)
 {
     _masterPort = null;
 }