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); }
/** * Unbind this master port and the associated slave port. */ public override void unbind() { _baseSlavePort = null; _slavePort = null; }
public void bind(ref InspCPUSlavePort slave_port) { _baseSlavePort = slave_port; _slavePort = slave_port; }