Skip to content

jsl/symbols/net-symbols/framework

Package name: jsl/symbols/net-symbols/framework

Summary

NetSymbol

Base Type for Net Symbols

Functions

Function Description
one-pin-build-pins
one-pin-build-params

General Definitions

Variable Description
NS-PINREF

Definitions

NetSymbol

Base Type for Net Symbols

public defstruct NetSymbol <: SymbolDefn
    backend-subs: Vector<KeyValue<String, SchematicSymbol>>

  • backend-subs: Vector<KeyValue<String, SchematicSymbol>> - Optional Backend symbol substitution The passed symbol definition can be used to replace the net symbol with a backend specific definition. The default is None()

The user is expected to derive from this type and provide specific net symbol implementations like for Ground or voltage rail symbols.

This implementation assumes that the net symbol connection location is at (0.0, 0.0). The user is expected to implement the graphical aspect of the symbol around that point. This pin is by default labeled p[0]

This type is not intended to be instantiated on its down. It is more likely to be used for its interface definition and the base implementions of SymbolDefn

Functions

one-pin-build-pins

public defn one-pin-build-pins (x:NetSymbol, node:SymbolNode)

one-pin-build-params

public defn one-pin-build-params (x:NetSymbol, node:SymbolNode)

General Definitions

NS-PINREF

public val NS-PINREF

Related Packages

Forwarded by package: jsl/symbols/net-symbols