format IOCell.scala
This commit is contained in:
@@ -60,14 +60,14 @@ class DigitalInIOCellBundle extends Bundle {
|
||||
}
|
||||
|
||||
trait IOCell extends BaseModule {
|
||||
var iocell_name : Option[String] = None
|
||||
var iocell_name: Option[String] = None
|
||||
|
||||
/** Set IOCell name
|
||||
* @param s Proposed name for the IOCell
|
||||
*
|
||||
* @return An inherited IOCell with given the proposed name
|
||||
*/
|
||||
def suggestName(s: String) : this.type = {
|
||||
* @param s Proposed name for the IOCell
|
||||
*
|
||||
* @return An inherited IOCell with given the proposed name
|
||||
*/
|
||||
def suggestName(s: String): this.type = {
|
||||
iocell_name = Some(s)
|
||||
super.suggestName(s)
|
||||
}
|
||||
@@ -124,8 +124,6 @@ case class GenericIOCellParams() extends IOCellTypeParams {
|
||||
def output() = Module(new GenericDigitalOutIOCell)
|
||||
}
|
||||
|
||||
|
||||
|
||||
object IOCell {
|
||||
|
||||
/** From within a RawModule or MultiIOModule context, generate new module IOs from a given
|
||||
|
||||
Reference in New Issue
Block a user