summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorSchuyler Eldridge2019-07-30 22:47:34 -0400
committerSchuyler Eldridge2019-08-01 11:12:47 -0400
commit6c65a28756b8bb615479b1bcc420b28994419700 (patch)
tree059f29769a09d423b1f4e274ecce56ce570c0467 /src/main
parent99cff159209ba1cc0f69f5afd2497d4bad79fbc5 (diff)
Flatten *FactoryBase hierarchy
This renames all *FactoryBase traits to *Factory, removes transparent *Factory objects, and propagates this flattened hierarchy throughout the codebase. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/scala/chisel3/compatibility.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/scala/chisel3/compatibility.scala b/src/main/scala/chisel3/compatibility.scala
index 7f2fc469..24556461 100644
--- a/src/main/scala/chisel3/compatibility.scala
+++ b/src/main/scala/chisel3/compatibility.scala
@@ -150,7 +150,7 @@ package object Chisel { // scalastyle:ignore package.object.name number.of.t
/** This contains literal constructor factory methods that are deprecated as of Chisel3.
*/
- trait UIntFactory extends chisel3.UIntFactoryBase {
+ trait UIntFactory extends chisel3.UIntFactory {
/** Create a UInt literal with inferred width. */
def apply(n: String): UInt = n.asUInt
/** Create a UInt literal with fixed width. */
@@ -190,7 +190,7 @@ package object Chisel { // scalastyle:ignore package.object.name number.of.t
/** This contains literal constructor factory methods that are deprecated as of Chisel3.
*/
- trait SIntFactory extends chisel3.SIntFactoryBase {
+ trait SIntFactory extends chisel3.SIntFactory {
/** Create a SInt type or port with fixed width. */
def width(width: Int): SInt = apply(width.W)
/** Create an SInt type with specified width. */
@@ -225,7 +225,7 @@ package object Chisel { // scalastyle:ignore package.object.name number.of.t
/** This contains literal constructor factory methods that are deprecated as of Chisel3.
*/
- trait BoolFactory extends chisel3.BoolFactoryBase {
+ trait BoolFactory extends chisel3.BoolFactory {
/** Creates Bool literal.
*/
def apply(x: Boolean): Bool = x.B