summaryrefslogtreecommitdiff
path: root/src/main/scala/chisel3/package.scala
diff options
context:
space:
mode:
authorJim Lawson2016-06-20 11:38:26 -0700
committerJim Lawson2016-06-20 11:38:26 -0700
commit3026dd214f3db3308eaf8f876d0fc03f75c577d3 (patch)
treeb6599b6d4c350a8f5567a15211906ca7812972f1 /src/main/scala/chisel3/package.scala
parentd408d73a171535bd7c2ba9d0037c194022b8a62f (diff)
Rename "package", "import", and explicit references to "chisel3".
Diffstat (limited to 'src/main/scala/chisel3/package.scala')
-rw-r--r--src/main/scala/chisel3/package.scala96
1 files changed, 48 insertions, 48 deletions
diff --git a/src/main/scala/chisel3/package.scala b/src/main/scala/chisel3/package.scala
index f7ed6b13..0b548683 100644
--- a/src/main/scala/chisel3/package.scala
+++ b/src/main/scala/chisel3/package.scala
@@ -1,4 +1,4 @@
-package object chisel {
+package object chisel3 {
import scala.language.experimental.macros
import internal.firrtl.Width
@@ -6,53 +6,53 @@ package object chisel {
import util.BitPat
- type Direction = chisel.core.Direction
- val INPUT = chisel.core.INPUT
- val OUTPUT = chisel.core.OUTPUT
- val NO_DIR = chisel.core.NO_DIR
- type Flipped = chisel.core.Flipped
- type Data = chisel.core.Data
- val Wire = chisel.core.Wire
- val Clock = chisel.core.Clock
- type Clock = chisel.core.Clock
-
- type Aggregate = chisel.core.Aggregate
- val Vec = chisel.core.Vec
- type Vec[T <: Data] = chisel.core.Vec[T]
- type VecLike[T <: Data] = chisel.core.VecLike[T]
- type Bundle = chisel.core.Bundle
-
- val assert = chisel.core.assert
-
- type Element = chisel.core.Element
- type Bits = chisel.core.Bits
- val Bits = chisel.core.Bits
- type Num[T <: Data] = chisel.core.Num[T]
- type UInt = chisel.core.UInt
- val UInt = chisel.core.UInt
- type SInt = chisel.core.SInt
- val SInt = chisel.core.SInt
- type Bool = chisel.core.Bool
- val Bool = chisel.core.Bool
- val Mux = chisel.core.Mux
-
- type BlackBox = chisel.core.BlackBox
-
- val Mem = chisel.core.Mem
- type MemBase[T <: Data] = chisel.core.MemBase[T]
- type Mem[T <: Data] = chisel.core.Mem[T]
- val SeqMem = chisel.core.SeqMem
- type SeqMem[T <: Data] = chisel.core.SeqMem[T]
-
- val Module = chisel.core.Module
- type Module = chisel.core.Module
-
- val printf = chisel.core.printf
-
- val Reg = chisel.core.Reg
-
- val when = chisel.core.when
- type WhenContext = chisel.core.WhenContext
+ type Direction = chisel3.core.Direction
+ val INPUT = chisel3.core.INPUT
+ val OUTPUT = chisel3.core.OUTPUT
+ val NO_DIR = chisel3.core.NO_DIR
+ type Flipped = chisel3.core.Flipped
+ type Data = chisel3.core.Data
+ val Wire = chisel3.core.Wire
+ val Clock = chisel3.core.Clock
+ type Clock = chisel3.core.Clock
+
+ type Aggregate = chisel3.core.Aggregate
+ val Vec = chisel3.core.Vec
+ type Vec[T <: Data] = chisel3.core.Vec[T]
+ type VecLike[T <: Data] = chisel3.core.VecLike[T]
+ type Bundle = chisel3.core.Bundle
+
+ val assert = chisel3.core.assert
+
+ type Element = chisel3.core.Element
+ type Bits = chisel3.core.Bits
+ val Bits = chisel3.core.Bits
+ type Num[T <: Data] = chisel3.core.Num[T]
+ type UInt = chisel3.core.UInt
+ val UInt = chisel3.core.UInt
+ type SInt = chisel3.core.SInt
+ val SInt = chisel3.core.SInt
+ type Bool = chisel3.core.Bool
+ val Bool = chisel3.core.Bool
+ val Mux = chisel3.core.Mux
+
+ type BlackBox = chisel3.core.BlackBox
+
+ val Mem = chisel3.core.Mem
+ type MemBase[T <: Data] = chisel3.core.MemBase[T]
+ type Mem[T <: Data] = chisel3.core.Mem[T]
+ val SeqMem = chisel3.core.SeqMem
+ type SeqMem[T <: Data] = chisel3.core.SeqMem[T]
+
+ val Module = chisel3.core.Module
+ type Module = chisel3.core.Module
+
+ val printf = chisel3.core.printf
+
+ val Reg = chisel3.core.Reg
+
+ val when = chisel3.core.when
+ type WhenContext = chisel3.core.WhenContext
implicit class fromBigIntToLiteral(val x: BigInt) extends AnyVal {