Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

6.5.2.2. Memory Simulation Models

You can use two types of memory models for simulation purposes: generic and vendor-specific. For Intel-provided memory controllers, you are provided with generic simulation models. If you are using custom memory controllers, you should use the simulation models the memory controller vendor provides. This application note discusses the generic memory model.

When you simulate a Nios® II design that involves external memory interfaces using the flow with Nios® II SBT for eclipse, an abstract DRAM memory model will be inserted at the Avalon® -MM slave interface of the UniPHY IP.

This model is added in front of Avalon® MM interface of a memory controller to act as the memory interface with a pre-initialize memory content. Essentially, this model operates as a bridge between the memory interface and the Avalon® -MM interface of the memory controller.

For write operation, the data is written to both internal abstract DRAM memory model and external memory. For read operation, the data is replaced by the read data from abstract DRAM memory model.