Xilinx Virtex-6 Manual page 61

Hide thumbs Also See for Virtex-6:
Table of Contents

Advertisement

RDCOUNT => RDCOUNT,
RDERR => RDERR,
WRCOUNT => WRCOUNT,
WRERR => WRERR,
DI => DI,
RDCLK => RDCLK,
RDEN => RDEN,
RST => RST,
WRCLK => WRCLK,
WREN => WREN
);
-- End of FIFO_DUALCLOCK_MACRO_inst instantiation
Verilog Instantiation Template
// FIFO_DUALCLOCK_MACRO: Dual Clock First-In, First-Out (FIFO) RAM Buffer
//
// Xilinx HDL Libraries Guide, version 14.5
/////////////////////////////////////////////////////////////////
// DATA_WIDTH | FIFO_SIZE | FIFO Depth | RDCOUNT/WRCOUNT Width //
// ===========|===========|============|=======================//
//
37-72
|
"36Kb"
//
19-36
|
"36Kb"
//
19-36
|
"18Kb"
//
10-18
|
"36Kb"
//
10-18
|
"18Kb"
//
5-9
|
"36Kb"
//
5-9
|
"18Kb"
//
1-4
|
"36Kb"
//
1-4
|
"18Kb"
/////////////////////////////////////////////////////////////////
FIFO_DUALCLOCK_MACRO
#(
.ALMOST_EMPTY_OFFSET(9'h080), // Sets the almost empty threshold
.ALMOST_FULL_OFFSET(9'h080),
.DATA_WIDTH(0),
// Valid values are 1-72 (37-72 only valid when FIFO_SIZE="36Kb")
.DEVICE("VIRTEX6"),
.FIFO_SIZE ("18Kb"), // Target BRAM: "18Kb" or "36Kb"
.FIRST_WORD_FALL_THROUGH ("FALSE") // Sets the FIFO FWFT to "TRUE" or "FALSE"
) FIFO_DUALCLOCK_MACRO_inst (
.ALMOSTEMPTY(ALMOSTEMPTY), // 1-bit output almost empty
.ALMOSTFULL(ALMOSTFULL),
.DO(DO),
.EMPTY(EMPTY),
.FULL(FULL),
.RDCOUNT(RDCOUNT),
.RDERR(RDERR),
.WRCOUNT(WRCOUNT),
.WRERR(WRERR),
.DI(DI),
.RDCLK(RDCLK),
.RDEN(RDEN),
.RST(RST),
.WRCLK(WRCLK),
.WREN(WREN)
);
// End of FIFO_DUALCLOCK_MACRO_inst instantiation
For More Information
See the
Virtex-6 FPGA User Documentation (User Guides and Data
Virtex-6 Libraries Guide for HDL Designs
UG623 (v 14.5) March 20, 2013
-- Output read count, width determined by FIFO depth
-- 1-bit output read error
-- Output write count, width determined by FIFO depth
-- 1-bit output write error
-- Input data, width defined by DATA_WIDTH parameter
-- 1-bit input read clock
-- 1-bit input read enable
-- 1-bit input reset
-- 1-bit input write clock
-- 1-bit input write enable
Virtex-6
|
512
|
|
1024
|
|
512
|
|
2048
|
|
1024
|
|
4096
|
|
2048
|
|
8192
|
|
4096
|
// Sets almost full threshold
// Target device: "VIRTEX5", "VIRTEX6"
// 1-bit output almost full
// Output data, width defined by DATA_WIDTH parameter
// 1-bit output empty
// 1-bit output full
// Output read count, width determined by FIFO depth
// 1-bit output read error
// Output write count, width determined by FIFO depth
// 1-bit output write error
// Input data, width defined by DATA_WIDTH parameter
// 1-bit input read clock
// 1-bit input read enable
// 1-bit input reset
// 1-bit input write clock
// 1-bit input write enable
www.xilinx.com
9-bit
//
10-bit
//
9-bit
//
11-bit
//
10-bit
//
12-bit
//
11-bit
//
13-bit
//
12-bit
//
Sheets).
Chapter 2: About Unimacros
61

Advertisement

Table of Contents
loading

Table of Contents