public class Package
extends Object
Modifier and Type | Method and Description |
---|---|
Device |
getDevice()
Gets the corresponding device
|
Grade[] |
getGrades()
Gets a list of all speed/temperature grade variations for this package
|
IOBank |
getIOBank(String name)
Gets the named IOBank in this package.
|
Collection<IOBank> |
getIOBanks()
Gets the set of IOBanks that are in this package.
|
Map<String,IOBank> |
getIOBanksMap()
Gets the map IOBanks keyed by their name for this package.
|
String |
getName()
Gets the name of the package
|
PackagePin |
getPackagePin(Site site)
Gets the corresponding package pin for this IO site.
|
PackagePin |
getPackagePin(String name)
Gets the named package pin in this package
|
LinkedHashMap<String,PackagePin> |
getPackagePinMap()
Gets all the package pins for this package and returns them in a map
|
String |
getPackagePinName(Site site)
Gets the corresponding package pin name for this IO site.
|
Site |
getSiteFromPackagePin(String packagePinName)
Gets the site associated with the provided package pin name
|
Set<IOStandard> |
getSupportedIOStandards()
Gets the set of all IO Standards supported by this packaged device.
|
boolean |
isIOStandardSupported(IOStandard ioStandard)
Checks if the supplied IO Standard is supported by this packaged part.
|
boolean |
isIOStandardSupported(String ioStandard)
Checks if the supplied IO Standard is supported by this packaged part.
|
String |
toString() |
public Device getDevice()
public String getName()
Vivado Tcl:
get_property PACKAGE [get_property PART [current_project]]
public Grade[] getGrades()
Vivado Tcl:
set d [get_property DEVICE [get_property PART [current_project]]];set ds []; foreach p [get_parts -filter DEVICE==$d] {lappend ds "[get_property SPEED $p][get_property TEMPERATURE_GRADE_LETTER $p]"}; lsort -unique $ds
public LinkedHashMap<String,PackagePin> getPackagePinMap()
Vivado Tcl:
get_package_pins
public Site getSiteFromPackagePin(String packagePinName)
Vivado Tcl:
get_sites -of [get_package_pins $packagePin]
packagePinName
- Name of the package pin (i.e. B12)public String toString()
toString
in class Object
public Map<String,IOBank> getIOBanksMap()
public IOBank getIOBank(String name)
name
- Name of the IOBankpublic Collection<IOBank> getIOBanks()
public Set<IOStandard> getSupportedIOStandards()
public boolean isIOStandardSupported(String ioStandard)
ioStandard
- The IO Standard in questionpublic boolean isIOStandardSupported(IOStandard ioStandard)
ioStandard
- The IO Standard in questionpublic PackagePin getPackagePin(String name)
name
- The name of the package pin to getpublic PackagePin getPackagePin(Site site)
site
- The site to query for a pacakge pin.public String getPackagePinName(Site site)
site
- The site to query for a pacakge pin.