Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExplicitSignednessT

Type representing some SignalLike being treated as explicitly Signed or Unsigned. Should not be instantiated directly, instead use asSigned or asUnsigned

Hierarchy

Index

Constructors

constructor

Properties

signal

signal: SignalLike

signedness

signedness: Signedness

type

type: string = EXPLICIT_SIGNEDNESS

width

width: number

Methods

!=

&

&&

+

++

-

<

<<

<<<

<=

==

>

>=

>>

>>>

?

^

and

andLogical

asSigned

asUnsigned

bit

concat

eq

gt

gte

isEqual

lt

lte

minus

neq

or

orLogical

plus

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