Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
976 Views

Nios II Qsys Simple Dual Port Memory

Hi all, 

 

 

I'm trying to set up a small Simple Dual Port Memory in qsys such that I can write to the memory block from the Nios II processor and read from it externally. 

 

I've set this up successfully using the internal memory module and then exported the second Avalon port. Unfortunately, I need 32 bit data externally which means that two M9K memory blocks are required even though the memory is small as it uses a full dual port rather than simple dual port mode. 

 

I can set up the memory block fine using MegaWizard but I can't find a way of doing this from qsys. I'm guessing I'm going to have to write my own module to sort this but if there is way of doing this directly I would love to know. 

 

Cheers, Colin
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
52 Views

I think Qsys lets you select 'single clock mode' - does that let it use 'simple dual port mode' ? 

We are currently fighting quartos 9.1 to get single clock mode working for memory that is tightly coupled to a nios cpu data port in order for OLD_DATA to be honoured.
Altera_Forum
Honored Contributor I
52 Views

Thanks for the reply. 

 

No, single clock mode doesn't help out. I've been using it already. 

 

For it to be implemented, there would need to be a method which indicates which port in read only and which port is write only and currently there isn't any.
Reply