Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "signals"

Index

Variables

Const HIGH

HIGH: ConstantT = Constant(1, 1)

A constant logic-level HIGH signal

Const LOW

LOW: ConstantT = Constant(1, 0)

A constant logic-level LOW signal

Functions

Const Bit

Const Concat

Const Constant

  • Create a constant

    Parameters

    • Default value width: number = 1

      bit width

    • Default value value: number | BigInt = 0
    • Default value signedness: Signedness = Signedness.Unsigned

      signed or unsigned

    Returns ConstantT

Const LogicalNot

Const Not

Const Signal

  • Create a signal

    Parameters

    • Default value width: number = 1

      bit width

    • Default value signedness: Signedness = Signedness.Unsigned

      signed or unsigned

    • Default value defaultValue: number = undefined

      the value this signal holds by default (0 if unspecifed)

    Returns SignalT

Const SignalArray

  • An addressable array of signals. Can be used to build/infer a memory of FIFO.

    Parameters

    • width: number
    • depth: number

    Returns SignalArrayT

Const Slice

  • Create a slice (inclusive)

    Parameters

    • a: SignalLike

      the signal to slice from

    • fromBit: number

      the starting bit

    • toBit: number

      the ending bit

    Returns SliceT

Const SubmodulePath

Const Ternary

Const asSigned

Const asUnsigned

Generated using TypeDoc