Forum Discussion

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

MSim/QII: Viewing m4K blocks in simulation.

In the "Memories" pane of Modelsim, it lists the M4K memory- a dual port in my case, in bit wide "stripes" versus as one contiguous 2K deep/8bit wide memory.

The problem is when I simulate and want to view my memory contents, I can only look a bit wide location (see attached)

?). How do I have the entire mem block show up as a instance.

Note1: Xilinx w/ MSim handles this fine. Also, the ModelSim USer's manual shows it as it should be in the attached.

Note2: Submitted to Altera Tech support, but going on day 3 with no answer....

Sincere Appreciation,

Bruce

4 Replies

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

    I don't understand, what's the original configuaration of the said memory. It's shown as 2048x17, quite different from a bit wide location . The display format of 17 bit wide memory words can be changed of course, but there's no 2048x8 memory.

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

    It's a 2048 x 8 Dual Port created from Megawizard.

    My expectation is that MSim would recognize this "instance" and display it as one contigous unit as the attached doc show in first picture.

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

    Sorry, I didn't read the expected and what i got thoroughly. I don't remember a similar 2D-view in ModelSim.

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

    Yeh, what strange is with Xilinx ISE it automaticallt takes it's generated memory block similar to what MegaWiz creates and puts that entire memory instance as a single block, then when you go to view it in waveforms, you see location zero up to the end in 8 bit values which you can assign as say a Hex value so it is very easy and quick to see the memory contents.

    thx