一下是我从官网上找到的,从注释的情况来看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
);
|