Exemple #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);
 }
Exemple #2
0
 public void bind(ref TraceFetcherSlavePort slave_port)
 {
     _baseSlavePort = slave_port;
     _slavePort     = slave_port;
 }
Exemple #3
0
 /**
  * Unbind this master port and the associated slave port.
  */
 public override void unbind()
 {
     _baseSlavePort = null;
     _slavePort     = null;
 }
Exemple #4
0
 public TraceFetcherMasterPorts(string name, PortID _id = PortID.MaxValue) : base(name, _id)
 {
     _slavePort = null;
 }