jsl/circuits/utils¶
Package name: jsl/circuits/utils
Summary¶
General Definitions¶
Function | Description |
---|---|
port-forward-net | Forward a component port/pad through a module port |
short-net (+ 1) | Combination of net and short-trace statements |
short-signal-ends | Create short-trace relationships using signal-ends |
Definitions¶
General Definitions¶
port-forward-net¶
Forward a component port/pad through a module port
public defn port-forward-net (pt:JITXObject, pd:JITXObject, name?:Symbol = ?)
pt: JITXObject
- Module Port to connect to a component port with forwardingpd: JITXObject
- Component port that identifies a specific pad that will forward through the portpt
.name?: Symbol
- Optional name for the constructed net.
This function construct a net statement and applies the signal end that allows for forwarding a component through a module port. This is useful
This function is generator and is expected to run in
a pcb-module
context.
short-net¶
Combination of net
and short-trace
statements
public defn short-net (name:String|Symbol|Printable, ports:JITXObject ...)
name: String|Symbol|Printable
- Name of the constructed netports: JITXObject
- Variadic of ports that will be net'd and ashort-trace
applied to them.
This function is generator and is expected to run in
a pcb-module
context.
This function uses find-signal-ends
to allow the user to
forward around a module port if any.
short-net¶
Combination of net
and short-trace
statements
public defn short-net (ports:JITXObject ...)
ports: JITXObject
- Set of component or module ports. This function works best if the module ports have aset-signal-ends
application.
This function is generator and is expected to run in
a pcb-module
context.
This function uses find-signal-ends
to allow the user to
forward around a module port if any.
short-signal-ends¶
Create short-trace relationships using signal-ends
public defn short-signal-ends (ports:JITXObject ...)
ports: JITXObject
- A set of component or module ports that are assumed to have already beennet
'd together. If they are not connected to the same net - then this will likely result in an error in the JITX runtime.
This function is generator and is expected to run in
a pcb-module
context.
This function uses the find-signal-end
function to
inspect for pad forwarding and then uses the forwarded
pad if any to construct the short-trace
.
This helps address cases where a module's port is
passed in the arguments as the module itself has used
set-signal-ends
on the appropriate port
Related Packages¶
Forwarded by package: jsl/circuits