Forum Discussion
Altera_Forum
Honored Contributor
21 years agoFILE CONVERSION
Hi All, Am trying to verify a VGA driver design using the lancelot VGA daughter card, and just wondering whether anybody knows how I can convert a .yuv file into any binary data file. I ne...
Altera_Forum
Honored Contributor
21 years agoYou could read it in as a C character array, as a part of your code. There are multiple examples of doing this if you just hunt for it on the web.
Or....you could use the ZIP filing system provided with the Nios II development kit. You would have to program it to flash, first.... The instructions are all a part of the ZIP software template/example. - slacker P.S.: If you get stuck, I've a Perl script somewhere which will read any file and create a C char. array.