Device Family: Intel® Arria® 10 GT, Intel® Arria® 10 GX, Intel® Arria® 10 SX

Type: Answers

Area: EMIF, Intellectual Property

IP Product: Altera Hybrid Memory Cube (HMC), Half Width, 8 transceiver channels/link, data rates up to 15G, 256-bit wide.

How do I setup my Hybrid Memory Cube Controller (HMCC) simulation to handle larger than 2GB memory size?


The Hybrid Memory Cube (HMC) IP provides an example HMCC testbench design that performs read and write transactions.  By default, the Micron HMC bus functional model (BFM) has a memory size of 2GB.  If you access memory addresses beyond 2GB, the data read may be unknown. 


The size of the Micron HMC can be increased by changing the parameter cfg_cube_size in the cls_cube_cfg.svh file in the HMC BFM.


rand  bit[1:0]              cfg_cube_size              = 0;            //  0 2GB 4H /1 4GB 8H/ 2 8GB 16H

cfg_cube_size = 0 -> 2GB

                         1 -> 4GB

                         2 -> 8GB

This applies to Micron HMC BFM models: r19625, r22107, r25268, r26472.