- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
using quartus megawizard lpm module i created dual port ram and i m able to read the data present in a *.mif file but after reading the data i want to update with new data in the *.mif file so what to do .any one plz explain or plz tell me the step if it is possible.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- after reading the data i want to update with new data in the *.mif file --- Quote End --- Update what and when? In a new design compilation? At runtime? And from which data source?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank 4 ur reply
plz explain more- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- thank 4 ur reply plz explain more --- Quote End --- I dont think you understand.... FvM was asking you questions, he wasnt explaining.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. Unfortunately, I understood neither from this post nor your newer crosspost (sounding different in some nuances) what you exactly want to achieve. Apparently, I'm not the only one. I don't want to start wild guesses, which typical RAM/mif-file application may be intended.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have a dual port ram and text.mif file,i want to write some new data in the text.mif file while compilation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
just tell me how to write data in the *.mif file for each clock cycle.
--- Quote Start --- Update what and when? In a new design compilation? At runtime? And from which data source? --- Quote End ---- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't see the point in modifying the contents *while* compiling, and your answers# 6 and# 7 clearly contradict themselves. I don't know if anyone understands what you want to do...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how can i change the content of *.mif file
--- Quote Start --- I don't see the point in modifying the contents *while* compiling, and your answers# 6 and# 7 clearly contradict themselves. I don't know if anyone understands what you want to do... --- Quote End ---- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hopefully guessing right about your intention, I see tow basic methods to generate table data respectively a ROM content:
- generating a *.mif or *.hex file by an additional tool, e.g. MS Excel, MATLAB/Octave, a tcl script, a user written C program - generating the data by compile time VHDL or Verilog calculations. An example related to a sine LUT has been e.g. given in this thread http://www.alteraforum.com/forum/showthread.php?t=1902- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Are you looking to edit the memory contents at runtime? ( the .mif file is just used to hold the contents for compilation and the file itself is not uploaded to the chip 'as-is' ) If you are trying to edit the contents of the ram at runtime, check option "Allow In-System Content Editor ..." from the megafunctions wizard. After programming your chip, use the In-System Content Editor to edit memory at runtime (Quartus II -> Tools -> In-system... ) @FvM QuartusII seems to have a pretty neat and simple mif/hex-file editor, accessable from New/Open-file dialogs..- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for ur response

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page