formatting fix

This commit is contained in:
Kevin Anderson
2023-03-17 20:48:35 -07:00
parent 0a4466da1e
commit 0df6e34813
2 changed files with 8 additions and 6 deletions

View File

@@ -60,7 +60,7 @@ class DigitalInIOCellBundle extends Bundle {
} }
trait IOCell extends BaseModule { trait IOCell extends BaseModule {
var i_name : String var i_name: String
} }
trait AnalogIOCell extends IOCell { trait AnalogIOCell extends IOCell {
@@ -119,11 +119,11 @@ case class GenericIOCellParams() extends IOCellTypeParams {
} }
trait IOCellName { trait IOCellName {
var i_name : String var i_name: String
} }
object IOCell extends IOCellName{ object IOCell extends IOCellName {
var i_name = "NoNameAssigned"
/** From within a RawModule or MultiIOModule context, generate new module IOs from a given /** From within a RawModule or MultiIOModule context, generate new module IOs from a given
* signal and return the new IO and a Seq containing all generated IO cells. * signal and return the new IO and a Seq containing all generated IO cells.
* @param coreSignal The signal onto which to add IO cells * @param coreSignal The signal onto which to add IO cells
@@ -144,6 +144,8 @@ object IOCell extends IOCellName{
(padSignal, iocells) (padSignal, iocells)
} }
var i_name = "NoNameAssigned"
/** Connect two identical signals together by adding IO cells between them and return a Seq /** Connect two identical signals together by adding IO cells between them and return a Seq
* containing all generated IO cells. * containing all generated IO cells.
* @param coreSignal The core-side (internal) signal onto which to connect/add IO cells * @param coreSignal The core-side (internal) signal onto which to connect/add IO cells
@@ -253,7 +255,7 @@ object IOCell extends IOCellName{
name.foreach(n => { name.foreach(n => {
iocell.suggestName(n) iocell.suggestName(n)
iocell.i_name = n iocell.i_name = n
}) })
iocell.io.o := sig iocell.io.o := sig
iocell.io.oe := true.B iocell.io.oe := true.B
iocell iocell

View File

@@ -33,7 +33,7 @@ trait TapeoutCli {
parser.note("Tapeout specific options") parser.note("Tapeout specific options")
Seq( Seq(
OutAnnoAnnotation, OutAnnoAnnotation
).foreach(_.addOptions(parser)) ).foreach(_.addOptions(parser))
} }