Ejemplo n.º 1
0
 public static void bind(ref InspCPUMasterPort msp, ref InspCPUSlavePort 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);
 }
Ejemplo n.º 2
0
 /**
  * Unbind this master port and the associated slave port.
  */
 public override void unbind()
 {
     _baseSlavePort = null;
     _slavePort     = null;
 }
Ejemplo n.º 3
0
 public void bind(ref InspCPUSlavePort slave_port)
 {
     _baseSlavePort = slave_port;
     _slavePort     = slave_port;
 }