public class SitePin
extends Object
Constructor and Description |
---|
SitePin(Site site,
String pinName)
SitePin constructor from site object and pin name
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
BELPin |
getBELPin()
Gets the corresponding BELPin for this site pin
|
BELPin |
getBELPin(SiteTypeEnum type)
Gets the corresponding BELPin for this site pin using the site type provided.
|
String |
getPinName()
Gets the site pin name
|
Site |
getSite()
Gets the site
|
Tile |
getTile()
Gets the tile where the site pin resides.
|
int |
hashCode() |
boolean |
isInput()
Checks if the direction of the pin is an input
|
void |
setPinName(String pinName) |
void |
setSite(Site site) |
String |
toString() |
public SitePin(Site site, String pinName)
Vivado Tcl:
get_site_pins $site/$pinName
site
- The sitepinName
- The name of the site pinpublic Site getSite()
Vivado Tcl:
get_sites -of $this
public void setSite(Site site)
site
- the site to setpublic String getPinName()
Vivado Tcl:
set n [get_property NAME $this]; string range $n [string last "/" $n]+1 [string length $n]
public void setPinName(String pinName)
pinName
- the pinName to setpublic boolean isInput()
Vivado Tcl:
set n [get_property NAME $this]; string range $n [string last "/" $n]+1 [string length $n]
public BELPin getBELPin()
Vivado GUI:
Select Site Wire of Site Pin->BEL Pins
public BELPin getBELPin(SiteTypeEnum type)
Vivado GUI:
Select Site Wire of Site Pin->BEL Pins
public Tile getTile()
Vivado Tcl:
get_tiles -of $this
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object