how to instantiate ODDR block?

Status
Not open for further replies.

kanwal_1

Newbie level 1
Joined
May 5, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
Assalaamoalaikum ,,,

plz tell me how to instantiate ODDR (from which tool in xilinx) in spartan 6 to remove error of global buffer?
 

if you want to implement clock forwarding, so that you can output your global clock to a pin, then use an ODDR2 as follows:

ODDR2 #(
.DDR_ALIGNMENT("C0"), // 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("ASYNC") // Specifies "SYNC" or "ASYNC" set/reset
)
ODDR2_0 (
.Q(clock_out), // 1-bit DDR output data
.C0(global_clock), // 1-bit clock input
.C1(~global_clock), // 1-bit clock input
.CE(1'b1), // 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(reset), // 1-bit reset input active high
.S(1'b0) // 1-bit set input
);
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…