Forum Discussion

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

Can Qsys implement two processor with sharing 2 ddr2 sdram?

the scheme is : on Stratix IV EP4SGX230

{Processor1 Processor 2}

|/ _________ \|

{ddr2SDRAM1 ddr2SDRAM2 }

operations:

1,time1 ,Processor 1 ACESS SDRAM1,Processor 2 ACESS ddr2SDRAM2

2,time2 ,Processor 1 ACESS SDRAM2,Processor 2 ACESS ddr2SDRAM1

and so on ....

can this be implemented? and how ? is there any docs to refer?

thanks for your help!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The Avalon bus arbiters will allow both cpu (and any other Avalon masters) to access the memory - so there is not physical problem.

    Logically you need to setup the software address maps so that the two processors aren't trying to use the same part of the memory.