Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ComparrisonT

Type representing the comparrison of two SignalLikes. Always returns a one-bit wide signal. Should not be instantiated directly, instead use BaseSignalLike.eq, BaseSignalLike.lt, etc

Hierarchy

Index

Constructors

constructor

Properties

a

b

comparrisonOp

comparrisonOp: ComparrisonOperation

type

type: string = COMPARRISON_EXPRESSION

width

width: 1

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