According to the schematic, RTS is E5 and CTS is D3. Previously these
were reversed to work around signal direction set in UARTResource.
Un-reverse the signals, and set correct direction by passing role=dce.
Ref. https://reference.digilentinc.com/_media/nexys4-ddr:nexys_4_ddr_sch.pdf
Attrs(IOSTANDARD="LVCMOS33")),
UARTResource(0,
- rx="C4", tx="D4", rts="D3", cts="E5",
- attrs=Attrs(IOSTANDARD="LVCMOS33")),
+ rx="C4", tx="D4", rts="E5", cts="D3",
+ attrs=Attrs(IOSTANDARD="LVCMOS33"),
+ role="dce"),
Resource("ps2_host", 0,
Subsignal("clk", Pins("F4", dir="i")),