Skip to content

Commit

Permalink
phy/SDPHYIOGen: Invert output clock to satisfy setup/hold times.
Browse files Browse the repository at this point in the history
Allow lowering sys_clk on ECP5 and tested sucessfully on other FPGA boards.
  • Loading branch information
gregdavill authored and enjoy-digital committed Mar 14, 2022
1 parent e52c731 commit 809ade3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litesdcard/phy.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def __init__(self, clocker, sdpads, pads):
# Clk
self.specials += SDROutput(
clk = ClockSignal("sys"),
i = clocker.clk,
i = ~clocker.clk,
o = pads.clk
)

Expand Down

0 comments on commit 809ade3

Please sign in to comment.