How to read/write a text from/to a file for Quartus II v.4?

Status
Not open for further replies.

k_cheng_aun2000

Newbie level 4
Joined
Jul 9, 2004
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
34
Write/Read Command

How to read/write a text from/to a file for Quartus II ver 4?
 

Write/Read Command

i don't know why you want to do it.
maybe you express it clearly i could help u!
 

Write/Read Command

i dont think that u would need it. read/wirte operations from a file r not synthesisable

ashihs
 

Re: Write/Read Command

That's a good question, I wonder too...

There must be a way, for example, to have a separate binary file, and include into the design (for example, filling block RAM with pre-determined values).
 

Re: Write/Read Command

Big Boy said:
There must be a way, for example, to have a separate binary file, and include into the design (for example, filling block RAM with pre-determined values).

Of course there is a way...can only speak for Quartus though...

When you go through the MegaWizard GUI for RAM blocks you see an option to supply a HEX or MIF file as preloaded content...
 

Re: Write/Read Command

There always is a RAM initial file. You can fill the file to init your RAM buffer. these initial value is saved in the eeprom.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…