URAM288_BASE - 2022.2 English

UltraScale Architecture Libraries Guide (UG974)

Document ID
UG974
Release Date
2022-10-19
Version
2022.2 English

Primitive: 288K-bit High-Density Base Memory Building Block

  • PRIMITIVE_GROUP: BLOCKRAM
  • PRIMITIVE_SUBGROUP: URAM
  • Families: UltraScale+

Introduction

288K-bit High-Density Base Memory Building Block.

Port Descriptions

Port Direction Width Function
ADDR_A<22:0> Input 23 Port A address.
ADDR_B<22:0> Input 23 Port B address.
BWE_A<8:0> Input 9 Port A Byte-write enable.
BWE_B<8:0> Input 9 Port B Byte-write enable.
CLK Input 1 Clock source.
DBITERR_A Output 1 Port A double-bit error flag status.
DBITERR_B Output 1 Port B double-bit error flag status.
DIN_A<71:0> Input 72 Port A write data input.
DIN_B<71:0> Input 72 Port B write data input.
DOUT_A<71:0> Output 72 Port A read data output.
DOUT_B<71:0> Output 72 Port B read data output.
EN_A Input 1 Port A enable.
EN_B Input 1 Port B enable.
INJECT_DBITERR_A Input 1 Port A double-bit error injection.
INJECT_DBITERR_B Input 1 Port B double-bit error injection.
INJECT_SBITERR_A Input 1 Port A single-bit error injection.
INJECT_SBITERR_B Input 1 Port B single-bit error injection.
OREG_CE_A Input 1 Port A output register clock enable.
OREG_CE_B Input 1 Port B output register clock enable.
OREG_ECC_CE_A Input 1 Port A ECC decoder output register clock enable.
OREG_ECC_CE_B Input 1 Port B ECC decoder output register clock enable.
RDB_WR_A Input 1 Port A read/write select.
RDB_WR_B Input 1 Port B read/write select.
RST_A Input 1 Port A asynchronous or synchronous reset for output registers.
RST_B Input 1 Port B asynchronous or synchronous reset for output registers.
SBITERR_A Output 1 Port A single-bit error flag status.
SBITERR_B Output 1 Port B single-bit error flag status.
SLEEP Input 1 Dynamic power gating control.

Design Entry Method

Instantiation Yes
Inference Yes
IP and IP Integrator Catalog Recommended

Available Attributes

Attribute Type Allowed Values Default Description
AUTO_SLEEP_LATENCY DECIMAL 8, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15 8 Latency requirement to enter sleep mode.
AVG_CONS_INACTIVE_CYCLES DECIMAL 10 to 100000 10 Average consecutive inactive cycles when is SLEEP mode for power estimation.
BWE_MODE_A STRING "PARITY_INTERLEAVED", "PARITY_INDEPENDENT" "PARITY_INTERLEAVED" Port A Byte write control.
BWE_MODE_B STRING "PARITY_INTERLEAVED", "PARITY_INDEPENDENT" "PARITY_INTERLEAVED" Port B Byte write control.
EN_AUTO_SLEEP_MODE STRING "FALSE", "TRUE" "FALSE" Enable to automatically enter sleep mode.
EN_ECC_RD_A STRING "FALSE", "TRUE" "FALSE" Port A ECC encoder.
EN_ECC_RD_B STRING "FALSE", "TRUE" "FALSE" Port B ECC encoder.
EN_ECC_WR_A STRING "FALSE", "TRUE" "FALSE" Port A ECC decoder.
EN_ECC_WR_B STRING "FALSE", "TRUE" "FALSE" Port B ECC decoder.
IREG_PRE_A STRING "FALSE", "TRUE" "FALSE" Optional Port A input pipeline registers.
IREG_PRE_B STRING "FALSE", "TRUE" "FALSE" Optional Port B input pipeline registers.
IS_CLK_INVERTED BINARY 1'b0 to 1'b1 1'b0 Optional inverter for CLK.
IS_EN_A_INVERTED BINARY 1'b0 to 1'b1 1'b0 Optional inverter for Port A enable.
IS_EN_B_INVERTED BINARY 1'b0 to 1'b1 1'b0 Optional inverter for Port B enable.
IS_RDB_WR_A_INVERTED BINARY 1'b0 to 1'b1 1'b0 Optional inverter for Port A read/write select.
IS_RDB_WR_B_INVERTED BINARY 1'b0 to 1'b1 1'b0 Optional inverter for Port B read/write select.
IS_RST_A_INVERTED BINARY 1'b0 to 1'b1 1'b0 Optional inverter for Port A reset.
IS_RST_B_INVERTED BINARY 1'b0 to 1'b1 1'b0 Optional inverter for Port B reset.
OREG_A STRING "FALSE", "TRUE" "FALSE" Optional Port A output pipeline registers.
OREG_B STRING "FALSE", "TRUE" "FALSE" Optional Port B output pipeline registers.
OREG_ECC_A STRING "FALSE", "TRUE" "FALSE" Port A ECC decoder output.
OREG_ECC_B STRING "FALSE", "TRUE" "FALSE" Port B output ECC decoder.
RST_MODE_A STRING "SYNC", "ASYNC" "SYNC" Port A reset mode.
RST_MODE_B STRING "SYNC", "ASYNC" "SYNC" Port B reset mode.
USE_EXT_CE_A STRING "FALSE", "TRUE" "FALSE" Enable Port A external CE inputs for output registers.
USE_EXT_CE_B STRING "FALSE", "TRUE" "FALSE" Enable Port B external CE inputs for output registers.

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;

-- URAM288_BASE: 288K-bit High-Density Base Memory Building Block
--               UltraScale
-- Xilinx HDL Language Template, version 2022.2

URAM288_BASE_inst : URAM288_BASE
generic map (
   AUTO_SLEEP_LATENCY => 8,            -- Latency requirement to enter sleep mode
   AVG_CONS_INACTIVE_CYCLES => 10,     -- Average consecutive inactive cycles when is SLEEP mode for power
                                       -- estimation
   BWE_MODE_A => "PARITY_INTERLEAVED", -- Port A Byte write control
   BWE_MODE_B => "PARITY_INTERLEAVED", -- Port B Byte write control
   EN_AUTO_SLEEP_MODE => "FALSE",      -- Enable to automatically enter sleep mode
   EN_ECC_RD_A => "FALSE",             -- Port A ECC encoder
   EN_ECC_RD_B => "FALSE",             -- Port B ECC encoder
   EN_ECC_WR_A => "FALSE",             -- Port A ECC decoder
   EN_ECC_WR_B => "FALSE",             -- Port B ECC decoder
   IREG_PRE_A => "FALSE",              -- Optional Port A input pipeline registers
   IREG_PRE_B => "FALSE",              -- Optional Port B input pipeline registers
   IS_CLK_INVERTED => '0',             -- Optional inverter for CLK
   IS_EN_A_INVERTED => '0',            -- Optional inverter for Port A enable
   IS_EN_B_INVERTED => '0',            -- Optional inverter for Port B enable
   IS_RDB_WR_A_INVERTED => '0',        -- Optional inverter for Port A read/write select
   IS_RDB_WR_B_INVERTED => '0',        -- Optional inverter for Port B read/write select
   IS_RST_A_INVERTED => '0',           -- Optional inverter for Port A reset
   IS_RST_B_INVERTED => '0',           -- Optional inverter for Port B reset
   OREG_A => "FALSE",                  -- Optional Port A output pipeline registers
   OREG_B => "FALSE",                  -- Optional Port B output pipeline registers
   OREG_ECC_A => "FALSE",              -- Port A ECC decoder output
   OREG_ECC_B => "FALSE",              -- Port B output ECC decoder
   RST_MODE_A => "SYNC",               -- Port A reset mode
   RST_MODE_B => "SYNC",               -- Port B reset mode
   USE_EXT_CE_A => "FALSE",            -- Enable Port A external CE inputs for output registers
   USE_EXT_CE_B => "FALSE"             -- Enable Port B external CE inputs for output registers
)
port map (
   DBITERR_A => DBITERR_A,               -- 1-bit output: Port A double-bit error flag status
   DBITERR_B => DBITERR_B,               -- 1-bit output: Port B double-bit error flag status
   DOUT_A => DOUT_A,                     -- 72-bit output: Port A read data output
   DOUT_B => DOUT_B,                     -- 72-bit output: Port B read data output
   SBITERR_A => SBITERR_A,               -- 1-bit output: Port A single-bit error flag status
   SBITERR_B => SBITERR_B,               -- 1-bit output: Port B single-bit error flag status
   ADDR_A => ADDR_A,                     -- 23-bit input: Port A address
   ADDR_B => ADDR_B,                     -- 23-bit input: Port B address
   BWE_A => BWE_A,                       -- 9-bit input: Port A Byte-write enable
   BWE_B => BWE_B,                       -- 9-bit input: Port B Byte-write enable
   CLK => CLK,                           -- 1-bit input: Clock source
   DIN_A => DIN_A,                       -- 72-bit input: Port A write data input
   DIN_B => DIN_B,                       -- 72-bit input: Port B write data input
   EN_A => EN_A,                         -- 1-bit input: Port A enable
   EN_B => EN_B,                         -- 1-bit input: Port B enable
   INJECT_DBITERR_A => INJECT_DBITERR_A, -- 1-bit input: Port A double-bit error injection
   INJECT_DBITERR_B => INJECT_DBITERR_B, -- 1-bit input: Port B double-bit error injection
   INJECT_SBITERR_A => INJECT_SBITERR_A, -- 1-bit input: Port A single-bit error injection
   INJECT_SBITERR_B => INJECT_SBITERR_B, -- 1-bit input: Port B single-bit error injection
   OREG_CE_A => OREG_CE_A,               -- 1-bit input: Port A output register clock enable
   OREG_CE_B => OREG_CE_B,               -- 1-bit input: Port B output register clock enable
   OREG_ECC_CE_A => OREG_ECC_CE_A,       -- 1-bit input: Port A ECC decoder output register clock enable
   OREG_ECC_CE_B => OREG_ECC_CE_B,       -- 1-bit input: Port B ECC decoder output register clock enable
   RDB_WR_A => RDB_WR_A,                 -- 1-bit input: Port A read/write select
   RDB_WR_B => RDB_WR_B,                 -- 1-bit input: Port B read/write select
   RST_A => RST_A,                       -- 1-bit input: Port A asynchronous or synchronous reset for output
                                         -- registers

   RST_B => RST_B,                       -- 1-bit input: Port B asynchronous or synchronous reset for output
                                         -- registers

   SLEEP => SLEEP                        -- 1-bit input: Dynamic power gating control
);

-- End of URAM288_BASE_inst instantiation

Verilog Instantiation Template


// URAM288_BASE: 288K-bit High-Density Base Memory Building Block
//               UltraScale
// Xilinx HDL Language Template, version 2022.2

URAM288_BASE #(
   .AUTO_SLEEP_LATENCY(8),            // Latency requirement to enter sleep mode
   .AVG_CONS_INACTIVE_CYCLES(10),     // Average consecutive inactive cycles when is SLEEP mode for power
                                      // estimation
   .BWE_MODE_A("PARITY_INTERLEAVED"), // Port A Byte write control
   .BWE_MODE_B("PARITY_INTERLEAVED"), // Port B Byte write control
   .EN_AUTO_SLEEP_MODE("FALSE"),      // Enable to automatically enter sleep mode
   .EN_ECC_RD_A("FALSE"),             // Port A ECC encoder
   .EN_ECC_RD_B("FALSE"),             // Port B ECC encoder
   .EN_ECC_WR_A("FALSE"),             // Port A ECC decoder
   .EN_ECC_WR_B("FALSE"),             // Port B ECC decoder
   .IREG_PRE_A("FALSE"),              // Optional Port A input pipeline registers
   .IREG_PRE_B("FALSE"),              // Optional Port B input pipeline registers
   .IS_CLK_INVERTED(1'b0),            // Optional inverter for CLK
   .IS_EN_A_INVERTED(1'b0),           // Optional inverter for Port A enable
   .IS_EN_B_INVERTED(1'b0),           // Optional inverter for Port B enable
   .IS_RDB_WR_A_INVERTED(1'b0),       // Optional inverter for Port A read/write select
   .IS_RDB_WR_B_INVERTED(1'b0),       // Optional inverter for Port B read/write select
   .IS_RST_A_INVERTED(1'b0),          // Optional inverter for Port A reset
   .IS_RST_B_INVERTED(1'b0),          // Optional inverter for Port B reset
   .OREG_A("FALSE"),                  // Optional Port A output pipeline registers
   .OREG_B("FALSE"),                  // Optional Port B output pipeline registers
   .OREG_ECC_A("FALSE"),              // Port A ECC decoder output
   .OREG_ECC_B("FALSE"),              // Port B output ECC decoder
   .RST_MODE_A("SYNC"),               // Port A reset mode
   .RST_MODE_B("SYNC"),               // Port B reset mode
   .USE_EXT_CE_A("FALSE"),            // Enable Port A external CE inputs for output registers
   .USE_EXT_CE_B("FALSE")             // Enable Port B external CE inputs for output registers
)
URAM288_BASE_inst (
   .DBITERR_A(DBITERR_A),               // 1-bit output: Port A double-bit error flag status
   .DBITERR_B(DBITERR_B),               // 1-bit output: Port B double-bit error flag status
   .DOUT_A(DOUT_A),                     // 72-bit output: Port A read data output
   .DOUT_B(DOUT_B),                     // 72-bit output: Port B read data output
   .SBITERR_A(SBITERR_A),               // 1-bit output: Port A single-bit error flag status
   .SBITERR_B(SBITERR_B),               // 1-bit output: Port B single-bit error flag status
   .ADDR_A(ADDR_A),                     // 23-bit input: Port A address
   .ADDR_B(ADDR_B),                     // 23-bit input: Port B address
   .BWE_A(BWE_A),                       // 9-bit input: Port A Byte-write enable
   .BWE_B(BWE_B),                       // 9-bit input: Port B Byte-write enable
   .CLK(CLK),                           // 1-bit input: Clock source
   .DIN_A(DIN_A),                       // 72-bit input: Port A write data input
   .DIN_B(DIN_B),                       // 72-bit input: Port B write data input
   .EN_A(EN_A),                         // 1-bit input: Port A enable
   .EN_B(EN_B),                         // 1-bit input: Port B enable
   .INJECT_DBITERR_A(INJECT_DBITERR_A), // 1-bit input: Port A double-bit error injection
   .INJECT_DBITERR_B(INJECT_DBITERR_B), // 1-bit input: Port B double-bit error injection
   .INJECT_SBITERR_A(INJECT_SBITERR_A), // 1-bit input: Port A single-bit error injection
   .INJECT_SBITERR_B(INJECT_SBITERR_B), // 1-bit input: Port B single-bit error injection
   .OREG_CE_A(OREG_CE_A),               // 1-bit input: Port A output register clock enable
   .OREG_CE_B(OREG_CE_B),               // 1-bit input: Port B output register clock enable
   .OREG_ECC_CE_A(OREG_ECC_CE_A),       // 1-bit input: Port A ECC decoder output register clock enable
   .OREG_ECC_CE_B(OREG_ECC_CE_B),       // 1-bit input: Port B ECC decoder output register clock enable
   .RDB_WR_A(RDB_WR_A),                 // 1-bit input: Port A read/write select
   .RDB_WR_B(RDB_WR_B),                 // 1-bit input: Port B read/write select
   .RST_A(RST_A),                       // 1-bit input: Port A asynchronous or synchronous reset for output
                                        // registers

   .RST_B(RST_B),                       // 1-bit input: Port B asynchronous or synchronous reset for output
                                        // registers

   .SLEEP(SLEEP)                        // 1-bit input: Dynamic power gating control
);

// End of URAM288_BASE_inst instantiation

Related Information

  • See the UltraScale Architecture Memory Resources User Guide (UG573).