Esempio n. 1
0
 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;
 }
Esempio n. 2
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;
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 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();
 }
Esempio n. 5
0
 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;
 }
Esempio n. 6
0
 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();
 }