10.07.2015 Views

Xilinx Virtex-6 Libraries Guide for HDL Designs

Xilinx Virtex-6 Libraries Guide for HDL Designs

Xilinx Virtex-6 Libraries Guide for HDL Designs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2: About UnimacrosVerilog Instantiation Template// FIFO_DUALCLOCK_MACRO: Dual Clock First-In, First-Out (FIFO) RAM Buffer// <strong>Virtex</strong>-5, <strong>Virtex</strong>-6// <strong>Xilinx</strong> <strong>HDL</strong> <strong>Libraries</strong> <strong>Guide</strong>, version 11.2FIFO_DUALCLOCK_MACRO #(.ALMOST_EMPTY_OFFSET(9’h080), // Sets the almost empty threshold.ALMOST_FULL_OFFSET(9’h080), // Sets almost full threshold.DATA_WIDTH(0), // Valid values are 1-72 (37-72 only valid when FIFO_SIZE="36Kb").DEVICE("VIRTEX5"), // Target device: "VIRTEX5", "VIRTEX6".FIFO_SIZE ("18Kb"), // Target BRAM: "18Kb" or "36Kb".FIRST_WORD_FALL_THROUGH ("FALSE"), // Sets the FIFO FWFT to "TRUE" or "FALSE".SIM_MODE("SAFE") // Simulation: "SAFE" vs. "FAST", see "Synthesis and Simulation Design <strong>Guide</strong>" <strong>for</strong> details) FIFO_DUALCLOCK_MACRO (.ALMOSTEMPTY(ALMOSTEMPTY), // Output almost empty.ALMOSTFULL(ALMOSTFULL), // Output almost full.DO(DO),// Output data.EMPTY(EMPTY),// Output empty.FULL(FULL),// Output full.RDCOUNT(RDCOUNT),// Output read count.RDERR(RDERR),// Output read error.WRCOUNT(WRCOUNT),// Output write count.WRERR(WRERR),// Output write error.DI(DI),// Input data.RDCLK(RDCLK),// Input read clock.RDEN(RDEN),// Input read enable.RST(RST),// Input reset.WRCLK(WRCLK),// Input write clock.WREN(WREN)// Input write enable);// End of FIFO_DUALCLOCK_MACRO_inst instantiationFor More In<strong>for</strong>mationSee the <strong>Virtex</strong>-6 FPGA User Documentation (User <strong>Guide</strong>s and Data Sheets).<strong>Virtex</strong>-6 <strong>Libraries</strong> <strong>Guide</strong> <strong>for</strong> <strong>HDL</strong> <strong>Designs</strong>UG623 (v 11.4) December 2, 2009 www.xilinx.com 49

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!