Visible to Intel only — GUID: iga1464289685825
Ixiasoft
Visible to Intel only — GUID: iga1464289685825
Ixiasoft
7.5.5. Building a Nios® II System with Tightly Coupled Memory
This section provides a detailed list of instructions to create a Nios® II system in Platform Designer that uses two tightly coupled memories, one for instruction access and one for data access. These two tightly coupled memories are connected to the Nios® II processor as shown in Figure 280. Additionally, instructions are provided to build a software project to exercise these tightly coupled memories. The output of the software shows that the tightly coupled memories have much faster access times than other on-chip memories.
To build a Nios® II system with tightly coupled memory, perform the following steps. These steps are described more fully in the following sections.
- Modify an existing reference design to include tightly coupled memories.
- Create the tightly coupled memories in Platform Designer.
- Connect the tightly coupled memories to the masters.
- Position the tightly coupled memories in the Nios® II processor’s address map.
- Specify the Nios® II exception address to access tightly coupled instruction memory.
- Add a performance counter.
- Generate the hardware system.
- Create a software project to exercise the tightly coupled memories.
- Execute the software on the new hardware design.
- Change the Tcl scripts and recompile the design to review how the timer settings work.