Forum Discussion

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

Altera`s FPGA in-memory content

Hi,

Here is my question: Is there a way in Quartus II to know what is the content of in-system memory (like M144k, for example). I tried to use the "in-system memory content editor" but I have to use lpm modules, which I can`t. For example, my vhdl code is:

type mem is array ( 0 to 3 ) of unsigned(NB_BITS_INST_TSM-1 downto 0);

signal instr_mem : mem;

attribute ramstyle : string;

attribute ramstyle of instr_mem : signal is "M144K";

I don`t want to use the SignalTap II logic analyzer tool... And I just want to see the content of the memory, not change it. Using the Nios II is a way but I don`t want the NIOS II in my design.

Thanks for the help!

Mathieu

1 Reply

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

    --- Quote Start ---

    I tried to use the "in-system memory content editor" but I have to use lpm modules

    --- Quote End ---

    Yes, the in-system memory content interface isn't provided through the RAM inference mechanism. You can implement a dual port RAM, and connect some kind of readout, e.g. through a serial interface. But you can't use the in-system memory content editor or the virtual JTAG interface in general without instantiating the respective lpm library components.