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