jsl/landpatterns/pad-island¶
Package name: jsl/landpatterns/pad-island
Summary¶
PadIsland¶
Define a contiguous region of pads in a BGA matrix
Functions¶
Function | Description |
---|---|
PadIsland | Construct a PadIsland Using 1-indexed ranges. |
to-pad-island (+ 1) | Convert a Grid Numbering Reference into a PadIsland |
in-range? | Check if a row, column in the grid is a member of the Pad Island. |
Definitions¶
PadIsland¶
Define a contiguous region of pads in a BGA matrix
public defstruct PadIsland :
columns: Range
rows: Range
-
columns: Range
-
rows: Range
This allows us to define regions where the pads are either active or inactive.
Functions¶
PadIsland¶
Construct a PadIsland Using 1-indexed ranges.
public defn PadIsland (rows:Range, columns:Range) -> PadIsland
rows: Range
- 1-Index'd rowscolumns: Range
- 1-index'd columns- Returns
PadIsland
Users are likely going to find it easier to use 1-indexed values because that is more consistent with the rest of JITX.
to-pad-island¶
Convert a Grid Numbering Reference into a PadIsland
public defn to-pad-island (grid:Grid-Numbering, r:IndexRef) -> PadIsland
grid: Grid-Numbering
- Grid Numbering Schemer: IndexRef
- Index Reference that indicates a particular pad to convert to a PadIsland- Returns
PadIsland
to-pad-island¶
public defn to-pad-island (grid:Grid-Numbering, s:String) -> PadIsland
- Returns
PadIsland
in-range?¶
Check if a row, column in the grid is a member of the Pad Island.
public defn in-range? (p:PadIsland, row:Int, column:Int) -> True|False
- Returns
True|False
Related Packages¶
Forwarded by packages: jsl/landpatterns/framework, jsl/landpatterns