Thanks mountain and Badomen,but I did
have a PLL used for converting the clk signal of sdram.
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif
Today I found a new problem of using sdram:
When I configured the components of my design in SOPCBuilder
as a "minimum system"(only has sram,sdram,and flash,no other user peripherals),
and I confugured all the mem choices in sys lib properties as sdram,
I found it work normally! So I think the sdram of my design should
be out of problems...
However,when I added user peripherals into the same SOPCBuilder,
such as uart and pio, and regenerated the whole system,
and builded the same file under NioII IDE,the sdram
does not work and "paused" after pressing "run as NIosII hardware" !
But when I removed all the user components I just added into my design,
only left it as the "minimum configuration" as the first time,
and gave it another regeneration.This time,
when I builded the same design as the last two times,
the sdram worked normally again!
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif
So I have to speculate that it is the user peripheral
result in the problem of the function of sdram in my design.
Am I right?Does someone have any suggestions about my
speculation?
Many Thanks!