projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
948527b
)
build/xilinx/common: update XilinxDDRInputImplS7 and XilinxDDRInputImplKU (from migen)
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Thu, 4 Oct 2018 06:17:44 +0000
(08:17 +0200)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Thu, 4 Oct 2018 06:17:44 +0000
(08:17 +0200)
litex/build/xilinx/common.py
patch
|
blob
|
history
diff --git
a/litex/build/xilinx/common.py
b/litex/build/xilinx/common.py
index 9e90e3426258d35d4f03fef7559b866aecadbe55..fffa7a447513734733930c4099aa18c0f1adb473 100644
(file)
--- a/
litex/build/xilinx/common.py
+++ b/
litex/build/xilinx/common.py
@@
-169,9
+169,9
@@
class XilinxDDROutputS7:
class XilinxDDRInputImplS7(Module):
def __init__(self, i, o1, o2, clk):
self.specials += Instance("IDDR",
- p_DDR_CLK_EDGE="SAME_EDGE
_PIPELINED
",
+ p_DDR_CLK_EDGE="SAME_EDGE",
i_C=clk, i_CE=1, i_S=0, i_R=0,
-
o_D=i, i_Q1=o1, i
_Q2=o2,
+
i_D=i, o_Q1=o1, o
_Q2=o2,
)
@@
-206,9
+206,10
@@
class XilinxDDRInputImplKU(Module):
self.specials += Instance("IDDRE1",
p_DDR_CLK_EDGE="SAME_EDGE_PIPELINED",
p_IS_C_INVERTED=0,
+ p_IS_CB_INVERTED=1,
i_D=i,
o_Q1=o1, o_Q2=o2,
- i_C=clk, i_CB=
~
clk,
+ i_C=clk, i_CB=clk,
i_R=0
)