假设您正在使用Verilog,您应该这样做:ODDR2#(//以下参数指定组件的行为.DDR_ALIGNMENT(“NONE”),//将输出对齐设置为//“NONE”,“C0”
“或”C1“.INIT(1'b0),//将Q //输出的初始状态设置为1'b0或1'b1 .SRTYPE(”SYNC“)//指定”SYNC“或”ASYNC“/
/ set / reset)ODDR2_inst(.Q(clk_98m),// 1位DDR输出数据.C0(clkout1),// 1位时钟输入.C1(clkout1_n),// 1位时钟输入.CE(
CE),// 1位时钟使能输入.D0(1'b1),// 1位数据输入(与C0相关).D1(1'b0),// 1位数据输入(与C1相关)
).R(1'b0),// 1位复位输入.S(1'b0)// 1位置位输入);其中clkout1是你要输出的时钟,而clkout1_n是clkout1的倒数
(您需要使用DCM生成此时钟 - 它基本上是clkout1,具有180°相移)
以上来自于谷歌翻译
以下为原文
Assuming you are using Verilog, you should do this:
ODDR2 #(
// The following parameters specify the behavior
// of the component.
.DDR_ALIGNMENT("NONE"), // Sets output alignment
// to "NONE", "C0" or "C1"
.INIT(1'b0), // Sets initial state of the Q
// output to 1'b0 or 1'b1
.SRTYPE("SYNC") // Specifies "SYNC" or "ASYNC"
// set/reset
)
ODDR2_inst (
.Q(clk_98m), // 1-bit DDR output data
.C0(clkout1), // 1-bit clock input
.C1(clkout1_n), // 1-bit clock input
.CE(CE), // 1-bit clock enable input
.D0(1'b1), // 1-bit data input (associated with C0)
.D1(1'b0), // 1-bit data input (associated with C1)
.R(1'b0), // 1-bit reset input
.S(1'b0) // 1-bit set input
);
where clkout1 is the clock that you are dring out and clkout1_n is the inverse of the clkout1 (you would need to generate this clock with the DCM - it is basically clkout1 with a 180° phase shift)
假设您正在使用Verilog,您应该这样做:ODDR2#(//以下参数指定组件的行为.DDR_ALIGNMENT(“NONE”),//将输出对齐设置为//“NONE”,“C0”
“或”C1“.INIT(1'b0),//将Q //输出的初始状态设置为1'b0或1'b1 .SRTYPE(”SYNC“)//指定”SYNC“或”ASYNC“/
/ set / reset)ODDR2_inst(.Q(clk_98m),// 1位DDR输出数据.C0(clkout1),// 1位时钟输入.C1(clkout1_n),// 1位时钟输入.CE(
CE),// 1位时钟使能输入.D0(1'b1),// 1位数据输入(与C0相关).D1(1'b0),// 1位数据输入(与C1相关)
).R(1'b0),// 1位复位输入.S(1'b0)// 1位置位输入);其中clkout1是你要输出的时钟,而clkout1_n是clkout1的倒数
(您需要使用DCM生成此时钟 - 它基本上是clkout1,具有180°相移)
以上来自于谷歌翻译
以下为原文
Assuming you are using Verilog, you should do this:
ODDR2 #(
// The following parameters specify the behavior
// of the component.
.DDR_ALIGNMENT("NONE"), // Sets output alignment
// to "NONE", "C0" or "C1"
.INIT(1'b0), // Sets initial state of the Q
// output to 1'b0 or 1'b1
.SRTYPE("SYNC") // Specifies "SYNC" or "ASYNC"
// set/reset
)
ODDR2_inst (
.Q(clk_98m), // 1-bit DDR output data
.C0(clkout1), // 1-bit clock input
.C1(clkout1_n), // 1-bit clock input
.CE(CE), // 1-bit clock enable input
.D0(1'b1), // 1-bit data input (associated with C0)
.D1(1'b0), // 1-bit data input (associated with C1)
.R(1'b0), // 1-bit reset input
.S(1'b0) // 1-bit set input
);
where clkout1 is the clock that you are dring out and clkout1_n is the inverse of the clkout1 (you would need to generate this clock with the DCM - it is basically clkout1 with a 180° phase shift)
举报