Forum Discussion

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

general question about on chip ram

Hello nios community,

I have access to an altera nios board with a stratix 1s10 chip on it. I normally use the cyclone version. I recompiled my design and everything seems to be working fine for the stratix, but in the ref design that i use for the system build up, there exist a 64k on chip ram module. I am not very familiar with on chip memory. What are some of the possible uses for these? I don't have a lot of experience with this so any tips would be appreciated.

thanx,

-Quan

4 Replies

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

    On chip memory is much faster then the external memory. It can be used as memory, shift registers, and FIFOs.

    If you have both then save the onchip memory for things you need to be fast (like code, DSP coefficients, FIFOs, etc...)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    So it is possible to load in an entire sub routine into this region and have it run really fast?

    If possible, any examples out there that I can read up on?

    thanx,

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

    I do whole programs in the on-chip memory. You just include that memory type into you system through the sopc builder and use it.

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

    BadOmen,

    That sounds cool. I haven't been able to do this yet. The onchip memory used for the stratix was M-Ram and sopc won't allow anything there except blank. Did you have to write a copy routine to do this with?