首页 / AMD-FPGA / 帖子

千兆以太网IDDR原语问题

作者 小司马 2016-02-20 12739 次浏览 2 条回复 论坛存档
小
小司马
2016-02-20
楼主

IDDR2 #(

.DDR_ALIGNMENT("C0"),

.INIT_Q0(1'b0),

.INIT_Q1(1'b0),

.SRTYPE("SYNC")

)

Iddr2_0(

.Q0(gmii_rxd[4]), // 1-bit output captured with C0 clock

.Q1(gmii_rxd[0]), // 1-bit output captured with C1 clock

.C0(rgmii_rxclk_n), // 1-bit clock input

.C1(rgmii_rxclk_i), // 1-bit clock input

.CE(1'b1), // 1-bit clock enable input

.D(rgmii_rxd_i[0]), // 1-bit ddr data input

.R(1'b0), // 1-bit reset input

.S(1'b0) // 1-bit set input

);

这个.SRTYPE("SYNC")是什么意思,求解,谢谢

uisrc
uisrc
2016-02-21
#1

一下是我从官网上找到的,从注释的情况来看SYNC 和ASYNC都是可以的,具体啥意思,没有找到更多资料了。

IDDR2 #(

// The following parameters specify the behavior

// of the component.

.DDR_ALIGNMENT("NONE"), // Sets output alignment

// to "NONE", "C0" or "C1"

.INIT_Q0(1'b0), // Sets initial state of the Q0

// output to 1'b0 or 1'b1

.INIT_Q1(1'b0), // Sets initial state of the Q1

// output to 1'b0 or 1'b1

.SRTYPE("SYNC") // Specifies "SYNC" or "ASYNC"

// set/reset

IDDR2_inst (

.Q0(Q0), // 1-bit output captured with C0 clock

.Q1(Q1), // 1-bit output captured with C1 clock

.C0(C0), // 1-bit clock input

.C1(C1), // 1-bit clock input

.CE(CE), // 1-bit clock enable input

.D(D), // 1-bit DDR data input

.R(R), // 1-bit reset input

.S(S) // 1-bit set input

);

这是论坛时期的原帖存档,只读。新的讨论请到 提问, 沉淀下来的内容会进 知识库 和 方案库。