aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/IR.scala
diff options
context:
space:
mode:
authorJack2015-10-12 16:56:08 -0700
committerJack2015-10-12 16:56:08 -0700
commit09ef2e42b00174e99124477b443a472e8664708f (patch)
treebd7d6fb6ca05823f09b85d253c4fe186d8903f51 /src/main/scala/firrtl/IR.scala
parent0c288c48382f1b31fbfb1c202867fb444e46136c (diff)
Renamed Subindex to Index and added type information to Index and DoPrimOp
Diffstat (limited to 'src/main/scala/firrtl/IR.scala')
-rw-r--r--src/main/scala/firrtl/IR.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/firrtl/IR.scala b/src/main/scala/firrtl/IR.scala
index 876e8641..7905612e 100644
--- a/src/main/scala/firrtl/IR.scala
+++ b/src/main/scala/firrtl/IR.scala
@@ -54,8 +54,8 @@ case class UIntValue(value: BigInt, width: Width) extends Exp
case class SIntValue(value: BigInt, width: Width) extends Exp
case class Ref(name: String, tpe: Type) extends Exp
case class Subfield(exp: Exp, name: String, tpe: Type) extends Exp
-case class Subindex(exp: Exp, value: BigInt) extends Exp
-case class DoPrimOp(op: PrimOp, args: Seq[Exp], consts: Seq[BigInt]) extends Exp
+case class Index(exp: Exp, value: BigInt, tpe: Type) extends Exp
+case class DoPrimOp(op: PrimOp, args: Seq[Exp], consts: Seq[BigInt], tpe: Type) extends Exp
trait AccessorDir extends AST
case object Infer extends AccessorDir