Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "index"

Index

Functions

Const and

  • and(a: boolean, b: boolean): boolean

Const aoi21

  • aoi21(a: boolean, b: boolean, c: boolean): boolean

Const aoi22

  • aoi22(a: boolean, b: boolean, c: boolean, d: boolean): boolean

Const delay

  • delay(n: number): (Anonymous function)
  • HOF delay line generator. Returned function takes single boolean arg, buffers n values (ring buffer) and returns currently oldest. The first n results will always be false.

    Parameters

    • n: number

      -

    Returns (Anonymous function)

Const demux

  • demux(i: boolean, s: boolean): [boolean, boolean]

Const fadd1

  • fadd1(a: boolean, b: boolean, c: boolean): Sum<boolean>

Const hadd1

  • hadd1(a: boolean, b: boolean): Sum<boolean>

Const imply

  • imply(a: boolean, b: boolean): boolean

Const mux

  • mux(a: boolean, b: boolean, s: boolean): boolean

Const nand

  • nand(a: boolean, b: boolean): boolean

Const nor

  • nor(a: boolean, b: boolean): boolean

Const not

  • not(x: boolean): boolean

Const oai21

  • oai21(a: boolean, b: boolean, c: boolean): boolean
  • Complement logic of aoi21.

    q = nand(a, or(b, c))

    Parameters

    • a: boolean

      -

    • b: boolean

      -

    • c: boolean

      -

    Returns boolean

Const oai22

  • oai22(a: boolean, b: boolean, c: boolean, d: boolean): boolean
  • Complement logic of aoi22.

    q = nand(or(a, b), or(c, d))

    Parameters

    • a: boolean

      -

    • b: boolean

      -

    • c: boolean

      -

    • d: boolean

      -

    Returns boolean

Const or

  • or(a: boolean, b: boolean): boolean

Const rca

  • rca(a: boolean[], b: boolean[], c: boolean): Sum<boolean[]>

Const xnor

  • xnor(a: boolean, b: boolean): boolean

Const xor

  • xor(a: boolean, b: boolean): boolean

Generated using TypeDoc