Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract function to help building funky QFN packages #232

Merged
merged 2 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion slm.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "jsl"
version = "0.10.0"
version = "0.10.1"
[dependencies]
maybe-utils = { git = "StanzaOrg/maybe-utils", version = "0.1.6"}
17 changes: 14 additions & 3 deletions src/landpatterns/quad.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,18 @@ public defn Quad-Package (
density-level
)

public defmethod build-pads (
doc: \<DOC>
Quad Package Pad Builder

This function generates the `VirtualPad` instances
for the Quad derived packages. It is separate from
the `build-pads` defmethod so that it can be called
explicitly in derived types.
<DOC>
public defn Quad-build-pads (
pkg:Quad-Package
vp:VirtualLP
) -> False :

val profile = lead-profile(pkg)
val num-scheme = lead-numbering(pkg)
val pad-planner = pad-planner(pkg)
Expand Down Expand Up @@ -323,7 +330,11 @@ public defmethod build-pads (
if thermal-lead?(pkg) is-not False:
add-thermal-pad(vp, num-leads(pkg) + 1, thermal-lead?(pkg))


public defmethod build-pads (
pkg:Quad-Package
vp:VirtualLP
) -> False :
Quad-build-pads(pkg, vp)

doc: \<DOC>
Quad Grid Planner
Expand Down
Loading