Xilinx Virtex-6 Manual page 353

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

Advertisement

Design Entry Method
Instantiation
Inference
CORE Generator™ and wizards
Macro support
Available Attributes
Attribute
Type
INIT
Hexadecimal
VHDL Instantiation Template
Unless they already exist, copy the following two statements and paste them before the entity declaration.
Library UNISIM;
use UNISIM.vcomponents.all;
-- ROM32X1: 32 x 1 Asynchronous Distributed (LUT) ROM
--
Virtex-6
-- Xilinx HDL Libraries Guide, version 14.5
ROM32X1_inst : ROM32X1
generic map (
INIT => X"00000000")
port map (
O => O,
-- ROM output
A0 => A0, -- ROM address[0]
A1 => A1, -- ROM address[1]
A2 => A2, -- ROM address[2]
A3 => A3, -- ROM address[3]
A4 => A4
-- ROM address[4]
);
-- End of ROM32X1_inst instantiation
Verilog Instantiation Template
// ROM32X1: 32 x 1 Asynchronous Distributed (LUT) ROM
//
Virtex-6
// Xilinx HDL Libraries Guide, version 14.5
ROM32X1 #(
.INIT(32'h00000000) // Contents of ROM
) ROM32X1_inst (
.O(O),
// ROM output
.A0(A0), // ROM address[0]
.A1(A1), // ROM address[1]
.A2(A2), // ROM address[2]
.A3(A3), // ROM address[3]
.A4(A4)
// ROM address[4]
);
// End of ROM32X1_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
Yes
Recommended
No
No
Allowed Values
Any 32-Bit Value
www.xilinx.com
Chapter 4: About Design Elements
Default
Description
All zeros
Specifies the contents of the ROM.
Sheets).
353

Advertisement

Table of Contents
loading

Table of Contents