RAM 8.0 BUX II Series Betriebsanweisung Seite 31

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 86
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 30
7 Series FPGAs Memory Resources www.xilinx.com 31
UG473 (v1.11) November 12, 2014
Block RAM Attributes
Block RAM Attributes
All attribute code examples are discussed in the Block RAM Initialization in VHDL or
Ver i log C ode section. Further information on using these attributes is available in the
Additional RAMB18E1 and RAMB36E1 Primitive Design Considerations section.
Content Initialization - INIT_xx
The memory content can be initialized or cleared in the configuration bitstream. In
previous generation Virtex devices, it was possible to initialize or read back the memory
contents via a blank bitstream. In the 7 series devices, a standard, valid bitstream is
required for block RAM initialization or readback due to the power gating feature. For
more details on initialization and readback of uninstantiated (power gated) block RAM,
see Power Gating of Unused Block RAMs, page 22.
INIT_xx attributes define the initial memory contents. By default, block RAM is initialized
with all zeros during the device configuration sequence. The 64 initialization attributes
from INIT_00 through INIT_3F for the RAMB18E1, and the 128 initialization attributes
from INIT_00 through INIT_7F for the RAMB36E1 represent the regular memory contents.
Each INIT_xx is a 64-digit hex-encoded bit vector. The memory contents can be partially
initialized and are automatically completed with zeros.
The following formula is used to determine the bit positions for each INIT_xx attribute.
Given yy = conversion hex-encoded to decimal (xx), INIT_xx corresponds to the memory
cells as follows:
•from [(yy + 1)× 256] – 1
•to (yy)× 256
For example, for the attribute INIT_1F, the conversion is as follows:
yy = conversion hex-encoded to decimal (xx) “1F” = 31
from [(31+1) × 256] – 1 = 8191
•to 31× 256 = 7936
More examples are given in Table 1-15.
Table 1-15: Block RAM Initialization Attributes
Attribute
Memory Location
From To
INIT_00 255 0
INIT_01 511 256
INIT_02 767 512
……
INIT_0E 3839 3584
INIT_0F 4095 3840
INIT_10 4351 4096
……
INIT_1F 8191 7936
INIT_20 8447 8192
Seitenansicht 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 85 86

Kommentare zu diesen Handbüchern

Keine Kommentare