Instance Constructors
-
new
AFix(maxRaw: BigInt, minRaw: BigInt, exp: Int)
Type Members
-
abstract
type
RefOwnerType
Value Members
-
def
!=(right: AFix): Bool
-
final
def
!=(arg0: Any): Boolean
-
def
##(right: Data): Bits
-
final
def
##(): Int
-
def
#*(count: Int): Bits
-
-
-
-
-
def
+^(right: AFix): AFix
-
def
+|(right: AFix): AFix
-
-
def
-^(right: AFix): AFix
-
def
-|(right: AFix): AFix
-
-
def
:=(that: BigDecimal): Unit
-
def
:=(a: AFix): Unit
-
def
:=(s: SFix): Unit
-
def
:=(u: UFix): Unit
-
def
:=(s: SInt): Unit
-
def
:=(u: UInt): Unit
-
-
def
<<(shift: Int): AFix
-
def
<<|(shift: Int): AFix
-
def
<=(right: AFix): Bool
-
def
=/=(right: AFix): Bool
-
def
==(right: AFix): Bool
-
final
def
==(arg0: Any): Boolean
-
def
===(right: AFix): Bool
-
-
def
>=(right: AFix): Bool
-
def
>>(shift: AFix): AFix
-
def
>>(shift: Int): AFix
-
def
>>|(shift: AFix): AFix
-
def
>>|(shift: Int): AFix
-
-
-
var
_spinalTags: LinkedHashSet[SpinalTag]
-
def
addAttribute(attribute: Attribute): AFix.this.type
-
def
addAttribute(name: String, value: Int): AFix.this.type
-
def
addAttribute(name: String, value: String): AFix.this.type
-
def
addAttribute(name: String): AFix.this.type
-
def
addTag[T <: SpinalTag](spinalTag: T): AFix.this.type
-
def
addTags[T <: SpinalTag](tags: Iterable[T]): AFix.this.type
-
def
allowDirectionLessIo: AFix.this.type
-
def
allowOverride: AFix.this.type
-
def
allowPartialyAssigned: AFix.this.type
-
def
allowPruning(): AFix.this.type
-
def
allowSimplifyIt(): AFix.this.type
-
def
allowUnsetRegToAvoidLatch: AFix.this.type
-
def
as[T <: Data](dataType: HardType[T]): T
-
def
asAlwaysPositive(): AFix
-
def
asBits: Bits
-
def
asData: Data
-
def
asInOut(): AFix.this.type
-
def
asInput(): AFix.this.type
-
final
def
asInstanceOf[T0]: T0
-
def
asOutput(): AFix.this.type
-
def
asSFix(): SFix
-
def
asSInt(): SInt
-
def
asUFix(): UFix
-
def
asUInt(): UInt
-
def
assignDontCare(): AFix.this.type
-
def
assignFormalRandom(kind: RandomExpKind): Unit
-
final
def
assignFrom(that: AnyRef, target: AnyRef = this): Unit
-
def
assignFromBits(bits: Bits, hi: Int, lo: Int): Unit
-
def
assignFromBits(bits: Bits): Unit
-
def
assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit
-
def
assignUnassignedByName(that: MultiData): Unit
-
val
bitWidth: Int
-
def
ceil(exp: Int, aligned: Boolean): AFix
-
def
ceil(exp: Int): AFix
-
def
ceil(width: BitCount, align: Boolean): AFix
-
def
ceilToInf(exp: Int, aligned: Boolean): AFix
-
def
ceilToInf(exp: Int): AFix
-
def
ceilToInf(width: BitCount, align: Boolean): AFix
-
def
clone(): AFix.this.type
-
-
final
def
compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef): Unit
-
var
compositeAssign: Assignable
-
def
copyDirectionOfImpl(that: Data): AFix.this.type
-
def
dirString(): String
-
def
dontSimplifyIt(): AFix.this.type
-
def
elements: ArrayBuffer[(String, Data)]
-
def
elementsString: String
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(obj: Any): Boolean
-
def
existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean
-
val
exp: Int
-
def
filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]
-
def
find(name: String): Data
-
def
findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]
-
-
def
fixTo(af: AFix): AFix
-
-
def
flatten: Seq[BaseType]
-
def
flattenForeach(body: (BaseType) ⇒ Unit): Unit
-
def
flattenLocalName: Seq[String]
-
def
flip(): AFix.this.type
-
def
floor(exp: Int): AFix
-
-
def
floorToZero(exp: Int): AFix
-
def
floorToZero(width: BitCount): AFix
-
def
foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
-
def
foreachTag(body: (SpinalTag) ⇒ Unit): Unit
-
val
fracWidth: Int
-
def
freeze(): AFix.this.type
-
def
genIf(cond: Boolean): AFix.this.type
-
def
getAheadValue(): AFix.this.type
-
def
getBitsWidth: Int
-
final
def
getClass(): Class[_]
-
def
getComponent(): Component
-
def
getComponents(): Seq[Component]
-
-
def
getDisplayName(): String
-
def
getInstanceCounter: Int
-
def
getMode: Byte
-
def
getMuxType[T <: Data](list: TraversableOnce[T]): HardType[T]
-
def
getName(default: String): String
-
def
getName(): String
-
def
getPartialName(): String
-
def
getRealSource: Any
-
def
getRealSourceNoRec: Any
-
def
getRefOwnersChain(): List[Any]
-
def
getRootParent: Data
-
def
getRtlPath(separator: String = "/"): String
-
def
getScalaLocationLong: String
-
def
getScalaLocationShort: String
-
def
getScalaTrace(): Throwable
-
def
getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
-
def
getTags(): LinkedHashSet[SpinalTag]
-
def
getZero: AFix.this.type
-
-
def
hasParametersOf(that: AFix): Boolean
-
def
hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
-
def
hasTag(spinalTag: SpinalTag): Boolean
-
def
hashCode(): Int
-
def
init(that: AFix): AFix.this.type
-
def
init(that: BigDecimal): AFix.this.type
-
final
def
initFrom(that: AnyRef, target: AnyRef = this): Unit
-
def
instanceAttributes(language: Language): Iterable[Attribute]
-
def
instanceAttributes: Iterable[Attribute]
-
val
intWidth: Int
-
def
isAnalog: Boolean
-
def
isComb: Boolean
-
def
isCompletelyUnnamed: Boolean
-
def
isDirectionLess: Boolean
-
def
isEmptyOfTag: Boolean
-
def
isInOut: Boolean
-
def
isInput: Boolean
-
def
isInputOrInOut: Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
isNamed: Boolean
-
def
isNegative(): Bool
-
def
isOutput: Boolean
-
def
isOutputOrInOut: Boolean
-
def
isPositive(): Bool
-
def
isPriorityApplicable(namePriority: Byte): Boolean
-
def
isReg: Boolean
-
def
isRegOnAssign: Boolean
-
def
isUnnamed: Boolean
-
def
isZero(): Bool
-
def
max(right: AFix): AFix
-
val
maxRaw: BigInt
-
lazy val
maxValue: BigDecimal
-
def
min(right: AFix): AFix
-
val
minRaw: BigInt
-
lazy val
minValue: BigDecimal
-
var
name: String
-
var
nameableRef: Nameable
-
final
def
ne(arg0: AnyRef): Boolean
-
def
negate(enable: Bool, plusOneEnable: Bool = null): AFix
-
def
negate(): AFix
-
def
noBackendCombMerge: AFix.this.type
-
def
noCombLoopCheck: AFix.this.type
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
numWidth: Int
-
def
onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit
-
def
overrideLocalName(name: String): AFix.this.type
-
var
parent: Data
-
-
def
pull(propagateName: Boolean): AFix.this.type
-
def
pull(): AFix.this.type
-
def
purify(): AFix.this.type
-
def
randBoot(u: Unit): AFix.this.type
-
val
raw: Bits
-
-
def
reflectNames(): Unit
-
def
removeAssignments(data: Boolean = true, init: Boolean = true, initial: Boolean = true): AFix.this.type
-
def
removeDataAssignments(): AFix.this.type
-
def
removeInitAssignments(): AFix.this.type
-
def
removeTag(spinalTag: SpinalTag): AFix.this.type
-
def
removeTags(tags: Iterable[SpinalTag]): AFix.this.type
-
-
def
resized: AFix.this.type
-
-
def
round(width: BitCount, align: Boolean): AFix
-
def
roundDown(exp: Int, aligned: Boolean): AFix
-
def
roundDown(width: BitCount, align: Boolean): AFix
-
def
roundHalfDown(exp: Int): AFix
-
def
roundHalfToEven(exp: Int): AFix
-
def
roundHalfToInf(exp: Int): AFix
-
def
roundHalfToOdd(exp: Int): AFix
-
def
roundHalfToZero(exp: Int): AFix
-
def
roundHalfUp(exp: Int): AFix
-
def
roundToEven(exp: Int, aligned: Boolean): AFix
-
def
roundToEven(width: BitCount, align: Boolean): AFix
-
def
roundToInf(exp: Int, aligned: Boolean): AFix
-
def
roundToInf(width: BitCount, align: Boolean): AFix
-
def
roundToOdd(exp: Int, align: Boolean): AFix
-
def
roundToOdd(width: BitCount, align: Boolean): AFix
-
def
roundToZero(exp: Int, aligned: Boolean): AFix
-
def
roundToZero(width: BitCount, align: Boolean): AFix
-
def
roundUp(exp: Int, aligned: Boolean): AFix
-
def
roundUp(width: BitCount, align: Boolean): AFix
-
def
rounded: AFix
-
-
def
sat(m: Int): AFix
-
def
sat(satMax: BigInt, satMin: BigInt): AFix
-
def
sat(satMax: BigInt, satMin: BigInt, exp: ExpNumber): AFix
-
-
-
def
saturated: AFix
-
def
saturated(rounding: RoundType): AFix
-
var
scalaTrace: Throwable
-
def
scrap(exp: Int): AFix
-
def
setAsAnalog(): AFix.this.type
-
def
setAsComb(): AFix.this.type
-
def
setAsDirectionLess(): AFix.this.type
-
def
setAsReg(): AFix.this.type
-
def
setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): AFix.this.type
-
def
setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): AFix.this.type
-
def
setCompositeName(nameable: Nameable, postfix: String): AFix.this.type
-
def
setCompositeName(nameable: Nameable, namePriority: Byte): AFix.this.type
-
def
setCompositeName(nameable: Nameable, weak: Boolean): AFix.this.type
-
def
setCompositeName(nameable: Nameable): AFix.this.type
-
def
setName(name: String, namePriority: Byte): AFix.this.type
-
def
setName(name: String, weak: Boolean): AFix.this.type
-
def
setName(name: String): AFix.this.type
-
def
setNameAsWeak(): AFix.this.type
-
def
setPartialName(name: String, namePriority: Byte, owner: Any): AFix.this.type
-
def
setPartialName(name: String, namePriority: Byte): AFix.this.type
-
def
setPartialName(name: String, weak: Boolean): AFix.this.type
-
def
setPartialName(owner: Nameable, name: String, namePriority: Byte): AFix.this.type
-
def
setPartialName(owner: Nameable, name: String, weak: Boolean): AFix.this.type
-
def
setPartialName(name: String): AFix.this.type
-
def
setPartialName(owner: Nameable, name: String): AFix.this.type
-
def
setRefOwner(that: Any): Unit
-
def
setScalaLocated(source: ScalaLocated): AFix.this.type
-
def
setWeakName(name: String): AFix.this.type
-
val
signWidth: Int
-
val
signed: Boolean
-
def
spinalTags: LinkedHashSet[SpinalTag]
-
lazy val
step: BigDecimal
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
-
def
toIo(): AFix.this.type
-
def
toMuxInput[T <: Data](muxOutput: T): T
-
def
toString(): String
-
def
trim(m: Int): AFix
-
-
def
truncate(): AFix
-
def
truncated: AFix
-
def
truncated(saturation: Boolean, overflow: Boolean, rounding: RoundType): AFix
-
def
unary_-(): AFix
-
def
unary_~: AFix
-
def
unfreeze(): AFix.this.type
-
def
unsetName(): AFix.this.type
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
final
def
wait(): Unit
-
val
wholeWidth: Int
-
def
wrapNext(): AFix.this.type
-
-
-
def
|<<(shift: Int): AFix
-
def
|<<(shift: AFix): AFix
Deprecated Value Members
-
def
asDirectionLess(): AFix.this.type
-
def
finalize(): Unit
Inherited from AnyRef
Inherited from Any