1
0

More Peripheral-to-pins cleanups

This commit is contained in:
Megan Wachs
2017-06-13 11:00:29 -07:00
parent b3f656affe
commit 8bfda68858
4 changed files with 24 additions and 15 deletions

View File

@ -30,9 +30,9 @@ trait HasPeripheryUARTBundle {
}
def UARTtoGPIOPins(syncStages: Int = 0): Seq[UARTPinsIO] = uarts.map { u =>
val pin = Module(new UARTGPIOPort(syncStages))
pin.io.uart <> u
pin.io.pins
val pins = Module(new UARTGPIOPort(syncStages))
pins.io.uart <> u
pins.io.pins
}
}