Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SubmodulePathT

Type representing a path into a signal deeply nested in submodules. Only available in simulation. Error prone because it relies on string, and therefore cannot perform any type checking. Should not be instantiated directly, instead use SubmodulePath.

Hierarchy

Index

Constructors

constructor

Properties

path

path: string

type

type: string = SUBMODULE_PATH_EXPRESSION

width

width: number

Methods

!=

&

&&

+

++

-

<

<<

<<<

<=

=

==

>

>=

>>

>>>

?

^

and

andLogical

asSigned

asUnsigned

bit

concat

eq

gt

gte

isEqual

lt

lte

minus

neq

or

orLogical

plus

setTo

shiftLeft

shiftLeftA

shiftRight

shiftRightA

signExtend

  • signExtend(toWidth: number): ConcatT

slice

  • slice(fromBit: number, toBit: number): SliceT
  • Create a slice from this signal (inclusive)

    Parameters

    • fromBit: number

      the starting bit

    • toBit: number

      the ending bit

    Returns SliceT

ternary

xor

zeroExtend

  • zeroExtend(toWidth: number): ConcatT

|

||

Generated using TypeDoc