Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Dual port RAM shared between Nios and async interface

Hi all,

I want to upgrade an existing system and I wonder if anyone can give me hints.

I have a board with CIII device with Nios and an external Analog Device DSP: both Nios and DSP need to access a shared memory, which is FPGA onchip RAM.

The current (working) implementation is:

- sopc system with Nios and tristate bus

- external lpm ram component in dual port mode.

- Nios accesses ram through tristate bus

- dsp accesses directly to the ram through its Async Memory Interface

I'd like to eliminate the tristate bus and integrate the ram in sopc system, so that Nios can access it directly with Avalon bus.

I think I can do it by defining a new onchip ram component and exporting signals of one port; I found something similar in another thread.

But I think I'd also need some glue logic to connect to dsp AMI.

Question 1: is this way of operation viable? is there a better solution?

Question 2: is such sopc component already available anywhere?

Thank you

Regards

20 Replies