diff options
| author | Andrew Waterman | 2015-08-20 16:40:42 -0700 |
|---|---|---|
| committer | Andrew Waterman | 2015-08-20 16:40:42 -0700 |
| commit | 6f3bc0551ec89e397d2972d7a664915c63e19a06 (patch) | |
| tree | 72e96b612e6e358bf8619a0bbc1bf460802e8ec1 /src/main/scala/Chisel/FP.scala | |
| parent | e7baa0a935da93aa1e9e78f7adc1f61222900c60 (diff) | |
Remove Port/Kind IR nodes, which merely wrap Data
Diffstat (limited to 'src/main/scala/Chisel/FP.scala')
| -rw-r--r-- | src/main/scala/Chisel/FP.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/Chisel/FP.scala b/src/main/scala/Chisel/FP.scala index 8dcff65b..4dd15b22 100644 --- a/src/main/scala/Chisel/FP.scala +++ b/src/main/scala/Chisel/FP.scala @@ -97,7 +97,7 @@ class Flo(dir: Direction = NO_DIR, val value:Option[FloLit] = None) extends FloB pushOp(DefPrim(cloneType, BitsToFlo, this.ref)).asInstanceOf[this.type] override def toBits: UInt = pushOp(DefPrim(UInt(width=32), FloToBits, this.ref)) - def toType: Kind = FloType(isFlip) + private[Chisel] def toType = "Flo" def cloneType: this.type = new Flo(dir).asInstanceOf[this.type] def fromInt(x: Int): Flo = @@ -177,7 +177,7 @@ class Dbl(dir: Direction, val value: Option[DblLit] = None) extends FloBase[Dbl] pushOp(DefPrim(cloneType, BitsToDbl, this.ref)).asInstanceOf[this.type] override def toBits: UInt = pushOp(DefPrim(UInt(width=64), DblToBits, this.ref)) - def toType: Kind = DblType(isFlip) + private[Chisel] def toType = "Dbl" def cloneType: this.type = new Dbl(dir).asInstanceOf[this.type] def fromInt(x: Int): this.type = |
