Sign in

username:

password:



Not a member?

Search Comp.Arch.FPGA



Search tips

fpga by Keywords

Altera | ASIC | CPLD | Cyclone | DCM | DDR | DSP | Ethernet | ISE | JTAG | Linux | LVDS | Microblaze | ML310 | Modelsim | NIOS | OPB | PCI | Quartus | RocketIO | SDRAM | Spartan | Spartan3 | SRAM | Stratix | Verilog | VHDL | Virtex | Virtex-4 | Virtex-II | Xilinx | XST


Ads

See Also

DSPEmbedded SystemsElectronics

Comp.Arch.FPGA | view memory contents in modelsim

There are 4 messages in this thread.

You are currently looking at messages 0 to 4.

view memory contents in modelsim - hariz - 2009-09-22 07:31:00

i am just a new user of modelsim and debussy, can
anyone help me transfermy code to modelsim and debussy from quartus?

i have a code in verilog using quartus..but due to long simulation time ican't view all the output..so i switched to modelsim..however, i cant viewthe memory contents in modelsim..

how can i double check the contents of my memory in modelsim?


______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.



Re: view memory contents in modelsim - Mike Treseler - 2009-09-22 13:20:00

hariz wrote:
> i am just a new user of modelsim and debussy, can anyone help me transfer
> my code to modelsim and debussy from quartus?
> 
> i have a code in verilog using quartus..but due to long simulation time i
> can't view all the output..so i switched to modelsim..however, i cant view
> the memory contents in modelsim..
> 
> how can i double check the contents of my memory in modelsim?
> 
> 

I add the memory array variable or signal to the waveforms.
If I leave the mouse arrow over the array waveform,
a table of values pops up for each clock tick.

Or just have the testbench write some values
and read them back.

        -- Mike Treseler
______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: view memory contents in modelsim - Kim Enkovaara - 2009-09-23 01:13:00

hariz wrote:
> i am just a new user of modelsim and debussy, can anyone help me transfer
> my code to modelsim and debussy from quartus?

Where do you need debussy with Modelsim. Most of the debussy features
are already in normal Modelsim gui.

> how can i double check the contents of my memory in modelsim?

There are many ways, one is to use in the workspace pane Memory tab
and find the memory array there. Or in the objects window right click
the memory array and select "View memory contents". If you need to
modify the contents etc. that can be done via the memory viewer or
via tcl commands in scripts. Remember to make sure that you have
enough visibility (-novopt or +acc in vopt flow).

--Kim
______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: view memory contents in modelsim - Kim Enkovaara - 2009-09-23 01:16:00

Mike Treseler wrote:
> I add the memory array variable or signal to the waveforms.
> If I leave the mouse arrow over the array waveform,
> a table of values pops up for each clock tick.


If the memory is done in VHDL signals/variables this slows down
the simulation considerably. On the other hand if the memory is
done in verilog the simulation does not slow down. Only verilog
has optimizations in this area. Just small tip if simulation
performance is needed ;)

--Kim