Xilinx Virtex-6 Manual page 350

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

Advertisement

Chapter 4: About Design Elements
Design Entry Method
Instantiation
Inference
CORE Generator™ and wizards
Macro support
Available Attributes
Attribute
Data 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;
-- ROM256X1: 256 x 1 Asynchronous Distributed (LUT) ROM
--
Virtex-6
-- Xilinx HDL Libraries Guide, version 14.5
ROM256X1_inst : ROM256X1
generic map (
INIT => X"0000000000000000000000000000000000000000000000000000000000000000")
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]
A5 => A5, -- ROM address[5]
A6 => A6,
-- ROM address[6]
A7 => A7
-- ROM address[7]
);
-- End of ROM256X1_inst instantiation
Verilog Instantiation Template
// ROM256X1: 256 x 1 Asynchronous Distributed (LUT) ROM
//
Virtex-6
// Xilinx HDL Libraries Guide, version 14.5
ROM256X1 #(
.INIT(256'h0000000000000000000000000000000000000000000000000000000000000000) // Contents of ROM
) ROM256X1_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]
.A5(A5), // ROM address[5]
.A6(A6), // ROM address[6]
.A7(A7)
// ROM address[7]
);
// End of ROM256X1_inst instantiation
350
Yes
Recommended
No
No
Allowed Values
Default
Any 256-Bit Value
All zeros
www.xilinx.com
Description
Specifies the contents of the ROM.
Virtex-6 Libraries Guide for HDL Designs
UG623 (v 14.5) March 20, 2013

Advertisement

Table of Contents
loading

Table of Contents