Skip to content

Commit

Permalink
Merge pull request #968 from duyhieubui/master
Browse files Browse the repository at this point in the history
Fixes UART portmap for Arty.
  • Loading branch information
jamesdunn authored Oct 13, 2021
2 parents 21a44d7 + d9858c1 commit 8e59db0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fpga/src/main/scala/arty/HarnessBinders.scala
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ class WithArtyJTAGHarnessBinder extends OverrideHarnessBinder({
class WithArtyUARTHarnessBinder extends OverrideHarnessBinder({
(system: HasPeripheryUARTModuleImp, th: ArtyFPGATestHarness, ports: Seq[UARTPortIO]) => {
withClockAndReset(th.clock_32MHz, th.ck_rst) {
IOBUF(th.uart_txd_in, ports.head.txd)
ports.head.rxd := IOBUF(th.uart_rxd_out)
IOBUF(th.uart_rxd_out, ports.head.txd)
ports.head.rxd := IOBUF(th.uart_txd_in)
}
}
})

0 comments on commit 8e59db0

Please sign in to comment.