/// <summary> /// Determines whether a pin is a member of the list based off of bus size, /// pin name and pin polarity /// </summary> /// <param name="pin">Pin to be added</param> /// <returns>Boolean indicating whether add was successful</returns> public Boolean Contains(Pin pin) { return(pin.isMember(pins)); }
/// <summary> /// Method removes clock pin from pin list /// </summary> /// <param name="clkVar">String containing the name of the clock variable</param> /// <param name="input">List of input pins to a circuit</param> /// <returns>List of input pins with the clock pin removed</returns> public Boolean clk_rm() { Pin clk = clk_var(); return(clk_rm(clk)); }