1
0

GPIO/SPI/I2C: Add sync stages in place of dummy variable since we need them and they are more useful.

This commit is contained in:
Megan Wachs
2017-06-12 17:53:51 -07:00
parent 7c118790cb
commit b06b80dccd
3 changed files with 6 additions and 6 deletions

View File

@ -29,8 +29,8 @@ trait HasPeripheryUARTBundle {
uarts.foreach { _.rxd := UInt(1) }
}
def UARTtoGPIOPins(sync_stages: Int = 0): Seq[UARTGPIOPort] = uarts.map { u =>
val pin = Module(new UARTGPIOPort(sync_stages))
def UARTtoGPIOPins(syncStages: Int = 0): Seq[UARTGPIOPort] = uarts.map { u =>
val pin = Module(new UARTGPIOPort(syncStages))
pin.io.uart <> u
pin
}