public vhdPort(string name, portInOut inout, string type) { this.name = name; this.inout = inout; this.type = type; this.bus = false; this.leftBound = 0; this.rightBound = 0; }
public vhdPort(string name, portInOut inout, string type, bool bus, int leftBound, int rightBound) { this.name = name; this.inout = inout; this.type = type; this.bus = bus; this.leftBound = leftBound; this.rightBound = rightBound; }
public Port(portInOut inout, string type, PointF location, Common parent, int napr, string name) { this.parent = parent; this.inout = inout; this.name = name; this.napr = napr; this.type = type; this.bus = false; this.location = location; }
public Port(portInOut inout, string type, int napr, string name) { this.parent = null; this.inout = inout; this.name = name; this.napr = napr; this.type = type; this.bus = false; this.location = new PointF(); }
public Port(portInOut inout, string type, PointF location, Common parent, int napr, string name, int LeftBusBound, int RightBusBound) { this.parent = parent; this.inout = inout; this.name = name; this.napr = napr; this.type = type; this.bus = true; this.LeftBusBound = LeftBusBound; this.RightBusBound = RightBusBound; this.location = location; }
public Port(portInOut inout, string type, int napr, string name, int LeftBusBound, int RightBusBound) { this.parent = null; this.inout = inout; this.name = name; this.napr = napr; this.type = type; this.bus = LeftBusBound - RightBusBound != 0; // !!!! HARDCODED this.LeftBusBound = LeftBusBound; this.RightBusBound = RightBusBound; this.location = new PointF(); }