public class BELPin extends BooleanFlagHelper
Modifier and Type | Class and Description |
---|---|
static class |
BELPin.Direction
BEL Pin directions
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
BEL |
getBEL()
Gets the parent BEL of this pin
|
String |
getBELName()
Gets the name of the parent BEL of this pin
|
BELPin |
getConnectedInputPinOnBEL(BEL bel)
Examines this pin and all pins connected on its site wire for an input pin on the provided
BEL.
|
String |
getConnectedSitePinName()
Gets the site pin name of the site pin connected to this element pin.
|
BELPin.Direction |
getDir()
Gets the direction of the BEL pin
|
Node |
getExternalNode(Site site)
If this BELPin corresponds to a Site pin, it gets the connected Node from the inter-site
routing network and returns it.
|
int |
getIndex()
Gets the index of the pin within the BEL.
|
String |
getName()
Gets the name of the BEL pin
|
ArrayList<BELPin> |
getSiteConns() |
SitePin |
getSitePin(Site site)
If the site wire to which this BELPin corresponds connects to a site pin, it returns
the relevant SitePin.
|
ArrayList<SitePIP> |
getSitePIPs() |
int |
getSiteWireIndex() |
String |
getSiteWireName()
Gets the site wire name connected to this pin.
|
BELPin |
getSourcePin()
Examines all the BEL pins on the site wire and returns the first source (output pin).
|
int |
hashCode() |
boolean |
isBidir()
Is the pin bi-directional?
|
boolean |
isClock()
Checks if this pin is a clock pin.
|
boolean |
isData()
Checks if this pin is a data pin.
|
boolean |
isDedicatedSitePin()
Checks if this pin connects to a dedicate route site pin (such as COUT on SLICEs).
|
boolean |
isEnable()
Checks if this pin is an enable pin.
|
boolean |
isGndSource()
Checks if this pin provides a GND
|
boolean |
isInput()
Is the pin an input?
|
boolean |
isOutput()
Is the pin an output?
|
boolean |
isPartOfBus()
Checks if this pin is part of a bus.
|
boolean |
isReset()
Checks if this pin is a reset pin.
|
boolean |
isSet()
Checks if this pin is a set pin.
|
boolean |
isSitePort()
Checks if the pin is a site port pin.
|
boolean |
isStaticSource()
Checks if this pin provides a static source (GND or VCC)
|
boolean |
isVccSource()
Checks if this pin provides a VCC
|
String |
toString() |
public String getName()
Vivado Tcl:
set p [get_property NAME $belPin];string range $p [string last "/" $p]+1 [string length $p]
public BELPin.Direction getDir()
Vivado Tcl:
get_property DIRECTION $belPin
public BEL getBEL()
Vivado Tcl:
get_bels [string range $belPin 0 [string last "/" $belPin]-1]
public String getBELName()
Vivado Tcl:
get_bels [string range $belPin 0 [string last "/" $belPin]-1]
public ArrayList<SitePIP> getSitePIPs()
public ArrayList<BELPin> getSiteConns()
public BELPin getSourcePin()
public BELPin getConnectedInputPinOnBEL(BEL bel)
bel
- The matching BEL of interestedpublic int getSiteWireIndex()
public String getSiteWireName()
public String getConnectedSitePinName()
public boolean isSitePort()
public String toString()
toString
in class Object
public boolean isInput()
public boolean isOutput()
public boolean isBidir()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public int getIndex()
public boolean isDedicatedSitePin()
public SitePin getSitePin(Site site)
site
- The current site.public Node getExternalNode(Site site)
site
- The current site.public boolean isStaticSource()
public boolean isGndSource()
public boolean isVccSource()
public boolean isPartOfBus()
Vivado Tcl:
get_property IS_PART_OF_BUS $belPin
public boolean isData()
Vivado Tcl:
get_property IS_DATA $belPin
public boolean isClock()
Vivado Tcl:
get_property IS_CLOCK $belPin
public boolean isEnable()
Vivado Tcl:
get_property IS_ENABLE $belPin
public boolean isSet()
Vivado Tcl:
get_property IS_SET $belPin
public boolean isReset()
Vivado Tcl:
get_property IS_RESET $belPin