Moved clkgen -> .clkgen and pads -> .pads

They no longer compile with the latest Chisel/FIRRTL, and
may not be supported. However, future work will need them, so
this keeps the files around but are ignored by sbt.
This commit is contained in:
Adam Izraelevitz
2017-09-06 12:36:01 -07:00
parent 16846b86fd
commit 96939c9ab6
16 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
package barstools.tapeout.transforms.pads
import firrtl._
import firrtl.ir._
abstract class PadOrientation extends FirrtlNode
case object Horizontal extends PadOrientation {
def serialize: String = "horizontal"
}
case object Vertical extends PadOrientation {
def serialize: String = "vertical"
}
abstract class PadType extends FirrtlNode
case object DigitalPad extends PadType {
def serialize: String = "digital"
def inName: String = "in"
def outName: String = "out"
}
case object AnalogPad extends PadType {
def serialize: String = "analog"
def ioName: String = "io"
}
case object SupplyPad extends PadType {
def serialize: String = "supply"
}
case object NoPad extends PadType {
def serialize: String = "none"
}
case object InOut extends Direction {
def serialize: String = "inout"
}
case object NoDirection extends Direction {
def serialize: String = "none"
}
abstract class PadSide extends FirrtlNode {
def orientation: PadOrientation
}
case object Left extends PadSide {
def serialize: String = "left"
def orientation: PadOrientation = Horizontal
}
case object Right extends PadSide {
def serialize: String = "right"
def orientation: PadOrientation = Horizontal
}
case object Top extends PadSide {
def serialize: String = "top"
def orientation: PadOrientation = Vertical
}
case object Bottom extends PadSide {
def serialize: String = "bottom"
def orientation: PadOrientation = Vertical
}