Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into tk/topo-via-structures
Browse files Browse the repository at this point in the history
  • Loading branch information
tjknoth committed Oct 17, 2024
2 parents 4828f5c + 88bf97f commit d27afeb
Show file tree
Hide file tree
Showing 134 changed files with 598 additions and 478 deletions.
6 changes: 1 addition & 5 deletions examples/components/QuadAND.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ defpackage jsl/examples/components/QuadAND:
import jitx
import jitx/commands

import jsl/bundles
import jsl/design/settings
import jsl/symbols
import jsl/landpatterns

import jsl
import jsl/examples/landpatterns/board

pcb-component QuadAND:
Expand Down
4 changes: 1 addition & 3 deletions examples/landpatterns/BGA-Stagger.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ defpackage jsl/examples/landpatterns/BGA-stagger:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/landpatterns
import jsl/symbols
import jsl
import jsl/examples/landpatterns/board

val board-shape = RoundedRectangle(50.0, 50.0, 0.25)
Expand Down
4 changes: 1 addition & 3 deletions examples/landpatterns/BGA-complex.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ defpackage jsl/examples/landpatterns/BGA-complex:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/landpatterns

import jsl
import jsl/examples/landpatterns/board

val board-shape = RoundedRectangle(50.0, 50.0, 0.25)
Expand Down
5 changes: 1 addition & 4 deletions examples/landpatterns/BGA-simple.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ defpackage jsl/examples/landpatterns/BGA-simple:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/symbols
import jsl/landpatterns

import jsl
import jsl/examples/landpatterns/board

val board-shape = RoundedRectangle(50.0, 50.0, 0.25)
Expand Down
5 changes: 1 addition & 4 deletions examples/landpatterns/BGA-thermal-enhanced.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ defpackage jsl/examples/landpatterns/BGA-thermal-enhanced:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/landpatterns
import jsl/symbols

import jsl
import jsl/examples/landpatterns/board


Expand Down
4 changes: 1 addition & 3 deletions examples/landpatterns/Molded-2pin.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ defpackage jsl/examples/landpatterns/Molded-2pin:
import jitx
import jitx/commands

import jsl/symbols
import jsl/landpatterns

import jsl
import jsl/examples/landpatterns/board

pcb-component test-inductor :
Expand Down
4 changes: 1 addition & 3 deletions examples/landpatterns/QFN.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ defpackage jsl/examples/landpatterns/QFN:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/landpatterns

import jsl
import jsl/examples/landpatterns/board

val board-shape = RoundedRectangle(50.0, 50.0, 0.25)
Expand Down
5 changes: 1 addition & 4 deletions examples/landpatterns/QFP.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ defpackage jsl/examples/landpatterns/QFP:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/landpatterns
import jsl/symbols

import jsl
import jsl/examples/landpatterns/board

val board-shape = RoundedRectangle(50.0, 50.0, 0.25)
Expand Down
4 changes: 1 addition & 3 deletions examples/landpatterns/Radial.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ defpackage jsl/examples/landpatterns/Radial-polarized:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/landpatterns

import jsl
import jsl/examples/landpatterns/board

val board-shape = RoundedRectangle(50.0, 50.0, 0.25)
Expand Down
4 changes: 1 addition & 3 deletions examples/landpatterns/SMT-polarized.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ defpackage jsl/examples/landpatterns/SMT-polarized:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/landpatterns

import jsl
import jsl/examples/landpatterns/board

val board-shape = RoundedRectangle(50.0, 50.0, 0.25)
Expand Down
4 changes: 1 addition & 3 deletions examples/landpatterns/SMT.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ defpackage jsl/examples/landpatterns/SMT:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/landpatterns

import jsl
import jsl/examples/landpatterns/board

val board-shape = RoundedRectangle(50.0, 50.0, 0.25)
Expand Down
4 changes: 1 addition & 3 deletions examples/landpatterns/SOIC32W.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ defpackage jsl/examples/landpatterns/SOIC32W:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/landpatterns

import jsl
import jsl/examples/landpatterns/board

val board-shape = RoundedRectangle(50.0, 50.0, 0.25)
Expand Down
4 changes: 1 addition & 3 deletions examples/landpatterns/SOIC8N.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ defpackage jsl/examples/landpatterns/SOIC8N:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/landpatterns

import jsl
import jsl/examples/landpatterns/board

val board-shape = RoundedRectangle(50.0, 50.0, 0.25)
Expand Down
4 changes: 1 addition & 3 deletions examples/landpatterns/SON.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ defpackage jsl/examples/landpatterns/SON:
import jitx
import jitx/commands

import jsl/landpatterns
import jsl/symbols

import jsl
import jsl/examples/landpatterns/board


Expand Down
30 changes: 13 additions & 17 deletions examples/landpatterns/SOP.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ defpackage jsl/examples/landpatterns/SOP:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/landpatterns
import jsl/symbols

import jsl
import jsl/examples/landpatterns/board


Expand Down Expand Up @@ -36,21 +33,20 @@ pcb-component test-LM2852:
pin-properties :
[pin:Ref | pads:Ref ... | side:Dir ]

[AVIN | p[1] | Left ]
[EN | p[2] | Left ]
[SGND | p[3] | Left ]
[SS | p[4] | Left ]
[NC[1] | p[5] | Left ]

[PVIN[1] | p[6] | Right ]
[PVIN[2] | p[7] | Right ]
[SW[1] | p[8] | Right ]
[SW[2] | p[9] | Right ]
[AVIN | p[1] | Left ]
[EN | p[2] | Left ]
[SGND | p[3] | Left ]
[SS | p[4] | Left ]
[NC[1] | p[5] | Left ]
[PVIN[1] | p[6] | Right ]
[PVIN[2] | p[7] | Right ]
[SW[1] | p[8] | Right ]
[SW[2] | p[9] | Right ]
[PGND[1] | p[10] | Right ]
[PGND[2] | p[11] | Right ]
[NC[2] | p[12] | Left ]
[NC[3] | p[13] | Left ]
[SNS | p[14] | Left ]
[NC[2] | p[12] | Left ]
[NC[3] | p[13] | Left ]
[SNS | p[14] | Left ]


val b = create-symbol $ BoxSymbol(self)
Expand Down
5 changes: 1 addition & 4 deletions examples/landpatterns/SOT.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ defpackage jsl/examples/landpatterns/SOT:
import jitx
import jitx/commands

import jsl/landpatterns
import jsl/symbols
import jsl/design/settings

import jsl
import jsl/examples/landpatterns/board


Expand Down
4 changes: 1 addition & 3 deletions examples/landpatterns/Uneven-QFN.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ defpackage jsl/examples/landpatterns/Uneven-QFN:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/landpatterns

import jsl
import jsl/examples/landpatterns/board

val board-shape = RoundedRectangle(50.0, 50.0, 0.25)
Expand Down
5 changes: 1 addition & 4 deletions examples/landpatterns/app-specific-keepout.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ defpackage jsl/examples/landpatterns/app-specific-keepout:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/symbols
import jsl/landpatterns

import jsl
import jsl/examples/landpatterns/board

val board-shape = RoundedRectangle(50.0, 50.0, 0.25)
Expand Down
4 changes: 1 addition & 3 deletions examples/landpatterns/headers.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ defpackage jsl/examples/landpatterns/headers:
import jitx
import jitx/commands

import jsl/landpatterns
import jsl/symbols

import jsl
import jsl/examples/landpatterns/board

pcb-bundle header (w:Int):
Expand Down
16 changes: 1 addition & 15 deletions examples/pin-assignment/circuit-pool.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,9 @@ defpackage jsl/examples/pin-assignment/circuit-pool:
import jitx
import jitx/commands

import jsl/errors
import jsl/bundles

import jsl/design/settings
import jsl/symbols
import jsl/landpatterns

import jsl/si/pairs
import jsl/pin-assignment

import jsl/protocols/ethernet/MDI/MDI-1000Base-T
import jsl/protocols/ethernet/MII/RGMII

import jsl
import jsl/examples/landpatterns/board



pcb-component esd-protector (num-chs:Int = 4):
if (num-chs % 2) != 0 :
throw $ ValueError("Number Channels must be Divisible By 2")
Expand Down
6 changes: 1 addition & 5 deletions examples/pin-assignment/swizzle.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ defpackage jsl/examples/pin-assignment/swizzle:
import jitx
import jitx/commands

import jsl/pin-assignment
import jsl/layerstack
import jsl/symbols
import jsl/landpatterns
import jsl/si/helpers
import jsl

pcb-bundle header (w:Int):
port D : pin[w]
Expand Down
6 changes: 1 addition & 5 deletions examples/protocols/common/example-components.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ defpackage jsl/examples/protocols/common/example-components:
import jitx/commands
import jitx/emodels

import jsl/design/settings
import jsl/symbols
import jsl/landpatterns

import jsl/si/helpers
import jsl

public pcb-component block-cap (value:Double):
name = "block-cap"
Expand Down
2 changes: 1 addition & 1 deletion examples/protocols/displayport/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ https://docs.jitx.com/reference/statements/routingstructstmt/heading.html
2. For the components in your system that have DisplayPort connections like ICs, connectors, etc adapt the code from the `displayport-src.stanza` to model the nature of the DisplayPort links available in your parts. For passive components like blocking capacitors and pull-up/down resistors, you can model the code using the code in `examples/protocols/common/example-components.staza`. Note that those components are dummy ones and will need to be updated to be usable. You will find the DisplayPort helper code in this directory:
jsl: `src/protocols/displayport.stanza`

3. For your design, at the level where you wish to connect the DisplayPort components, adapt the code from `displayport-main.stanza` to fit your design architecture.
3. For your design, at the level where you wish to connect the DisplayPort components, adapt the code from `displayport-main.stanza` to fit your design architecture.
9 changes: 1 addition & 8 deletions examples/protocols/displayport/displayport-main.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@ defpackage jsl/examples/protocols/displayport/main:
import jitx
import jitx/commands


import jsl/design/settings
import jsl/symbols/SymbolDefn

import jsl/protocols/displayport
import jsl/bundles
import jsl/si

import jsl
import jsl/examples/protocols/common/example-board
import jsl/examples/protocols/common/example-components

Expand Down
9 changes: 1 addition & 8 deletions examples/protocols/displayport/displayport-src.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@ defpackage jsl/examples/protocols/displayport/displayport-src :
import jitx
import jitx/commands

import jsl/symbols
import jsl/landpatterns

import jsl/design/settings
import jsl/si/helpers
import jsl/pin-assignment
import jsl/bundles
import jsl/protocols/displayport
import jsl

doc: \<DOC>
@brief DisplayPort dummy component
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,14 @@ defpackage jsl/examples/protocols/ethernet/10GBASE-KR/e10GBASE-KR-main:
import jitx/commands


import jsl/design/settings

import jsl/protocols/ethernet/MDI/e10GBASE-KR
import jsl/si/helpers

import jsl
import jsl/examples/protocols/common/example-board
import jsl/examples/protocols/common/example-components
import jsl/examples/protocols/ethernet/10GBASE-KR/e10GBASE-KR-src


pcb-module e10GBASE-KR-example :

inst dut1 : jsl/examples/protocols/ethernet/10GBASE-KR/e10GBASE-KR-src/module(invert = false)
inst dut2 : jsl/examples/protocols/ethernet/10GBASE-KR/e10GBASE-KR-src/module(invert = true)
inst conn1 : jsl/examples/protocols/ethernet/10GBASE-KR/e10GBASE-KR-src/edge-connector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@ defpackage jsl/examples/protocols/ethernet/10GBASE-KR/e10GBASE-KR-src :
import jitx/commands
import math

import jsl/symbols
import jsl/landpatterns

import jsl/design/settings
import jsl/si/helpers
import jsl/pin-assignment
import jsl/bundles
import jsl/protocols/ethernet/MDI/e10GBASE-KR
import jsl

doc: \<DOC>
@brief e10GBASE-KR dummy component
Expand Down
12 changes: 1 addition & 11 deletions examples/protocols/ethernet/RGMII_1000BaseT/main.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,7 @@ defpackage jsl/examples/ethernet/RGMII_1000BaseT/main:
import jitx
import jitx/commands

import jsl/design/settings
import jsl/symbols

import jsl/si
import jsl/bundles
import jsl/pin-assignment
import jsl/protocols/ethernet/MDI/MDI-1000Base-T
import jsl/protocols/ethernet/MII/RGMII

import jsl/landpatterns

import jsl
import jsl/examples/protocols/common/example-board


Expand Down
Loading

0 comments on commit d27afeb

Please sign in to comment.