Skip to content

jsl/examples/protocols/common/example-board

Package name: jsl/examples/protocols/common/example-board

Summary

General Definitions

Function Description
example-stackup
gen-via Parametric via generator for laser-drilled vias
an-example-board Simple board definition function
diff The pcb-differential-routing-structure template below is an example of a differential-routing-structure needed
setup-board Simple board setup function
example-board-rules Simple board rules
Variable Description
helper-via-8631
board-shape Simple board shape
uTop-1
uTop-2
uTop-3
uTop-4
default-TH
helper-structure-8639
helper-structure-8641
se-50 The pcb-routing-structure(s) below are just examples of the routing structures that need to be maintained

Definitions

General Definitions

example-stackup

public pcb-stackup example-stackup

gen-via

Parametric via generator for laser-drilled vias This function creates vias based on the input arguments

public defn gen-via (vip:True|False, via-start:LayerIndex, via-stop:LayerIndex, via-name:String)

  • via-start: LayerIndex - the layer that the via starts on
  • via-stop: LayerIndex - the layer that the via ends on For other via types and arguments, please consult: https://docs.jitx.com/reference/statements/viastmt/heading.html

an-example-board

Simple board definition function This function call defines a board by creating a board with shape, stackup and allowable vias.

public pcb-board an-example-board (outline:Shape)

  • outline: Shape - the shape of the board

diff

The pcb-differential-routing-structure template below is an example of a differential-routing-structure needed

public defn diff (trace-impedance:Toleranced|Double)

  • trace-impedance: Toleranced|Double - Target impedance. Accepted values are 85, 90, and 100 ohm.

by different protocols. This pcb-differential-routing-structure will be applied to the differential traces in the targeted bus by using the helper function <bus>-apply-routing-structure(). It should also reference a single ended routing structure for the uncoupled region.

setup-board

Simple board setup function This function call sets up a board for a design by creating a board with a shape, stackup and design rules.

public defn setup-board ()

example-board-rules

Simple board rules This structure sets the simple design rules to be applied to a design. Note that routing-structures will supersede these values when applied to traces. See https://docs.jitx.com/reference/statements/rulestmt/heading.html

public pcb-rules example-board-rules

helper-via-8631

public val helper-via-8631

board-shape

Simple board shape This variable defines a shape for a board.

public val board-shape

uTop-1

public val uTop-1

uTop-2

public val uTop-2

uTop-3

public val uTop-3

uTop-4

public val uTop-4

default-TH

public val default-TH

helper-structure-8639

public val helper-structure-8639

helper-structure-8641

public val helper-structure-8641

se-50

The pcb-routing-structure(s) below are just examples of the routing structures that need to be maintained

public val se-50

in the project code because they are dependant on the stack-up and other factors.