1
0

Ports: Rename the 'fromXYZPort' to 'fromPort' since it's redundant

This commit is contained in:
Megan Wachs
2017-07-25 08:36:28 -07:00
parent 2139ab0d98
commit aa6d911c26
6 changed files with 10 additions and 11 deletions

View File

@ -16,7 +16,7 @@ class GPIOPins[T <: Pin] (pingen: ()=> T, c: GPIOParams) extends Bundle {
override def cloneType: this.type =
this.getClass.getConstructors.head.newInstance(pingen, c).asInstanceOf[this.type]
def fromGPIOPort(port: GPIOPortIO){
def fromPort(port: GPIOPortIO){
// This will just match up the components of the Bundle that
// exist in both.