Altera_Forum
Honored Contributor
15 years ago[DE2 Board]If Sram is to be acessed both by NIOS and another Avalon Master Component
Hi,
I am creating a Avalon-MM-Master component that is able to read data from and write data to SRAM chip. In the design SRAM is slave to both CPU and the Avalon master component. After compiling the top level design and downloading it to the DE2 board, I try to run simple C application(just printing a string on the terminal ) under NIOSII IDE. However, NIOSII IDE report the following error: Downloading 00080000 ( 0%) Downloaded 53KB in 0.8s (66.2KB/s) Verifying 00080000 ( 0%) Verify failed between address 0x80000 and 0x8D287 Leaving target processor paused When I remove the newly created Avalon-MM-Master component from the system (in SOPC) program can run normally. So the problem is related to the new component. My guess is : since both CPU and the new component has the right to access SRAM, it may cause conflict. So does anybody have experience related to this issue? Can "flow control" or Avalon tristate Mater solve this problem?