summaryrefslogtreecommitdiff
path: root/src/main/scala/Chisel/Aggregate.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/Chisel/Aggregate.scala')
-rw-r--r--src/main/scala/Chisel/Aggregate.scala15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/main/scala/Chisel/Aggregate.scala b/src/main/scala/Chisel/Aggregate.scala
index 07362b9b..e6ac6b85 100644
--- a/src/main/scala/Chisel/Aggregate.scala
+++ b/src/main/scala/Chisel/Aggregate.scala
@@ -313,17 +313,6 @@ class Bundle extends Aggregate(NO_DIR) {
}
}
-object Bundle {
- private val keywords =
- HashSet[String]("flip", "asInput", "asOutput", "cloneType", "toBits")
-
- def apply[T <: Bundle](b: => T)(implicit p: Parameters): T = {
- Builder.paramsScope(p.push){ b }
- }
-
- //TODO @deprecated("Use Chisel.paramsScope object","08-01-2015")
- def apply[T <: Bundle](b: => T, f: PartialFunction[Any,Any]): T = {
- val q = Builder.getParams.alterPartial(f)
- apply(b)(q)
- }
+private[Chisel] object Bundle {
+ val keywords = List("flip", "asInput", "asOutput", "cloneType", "toBits")
}