--- Quote Start ---
if i do a memory test as you have explained me( Tcl Console) does it mean that the sram component(terasic_sram) is working? or the access to memory is done by other way.
--- Quote End ---
Yes, if you test the memory with System Console following the procedure I gave you, it will tell you if a small portion of the SRAM is working or not. You can expand the amount of data written and read, or change the write and read addresses accordingly to test different segments of the SRAM. It is a good sanity check to se if the SRAM is functional, and an easy way to troubleshoot if not.
--- Quote Start ---
how can i see the value of vector reset?
--- Quote End ---
To set (and view) the Reset and Exception vectors, you must open the Nios II (cpu) component in your SOPC design and scroll down to the vector options. There you will have a drop-down list of possible locations for each vector. Choose sram from the list, then re-generate SOPC, re-compile your Quartus II design, and re-program your FPGA.
--- Quote Start ---
because i can move its address but i don know if when i change the files(.bss .heap .rodata .rwdata .stack .text) to sram the reset vector changes too.
--- Quote End ---
I presume by this that you are referring to the Linker Script tab in the BSP editor of the Eclipse SBT. After setting the vectors to sram as above, you should not have to change anything in the Linker Script. The .bss .heap .rodata .rwdata .stack .text regions (these are not files, but areas in memory assigned to the various code segments) as well as the Reset and Exception vectors should already be assigned to sram.