Forum Discussion
Altera_Forum
Honored Contributor
11 years agoWriting nul character to file
Hi! I'm currently developing a small test bench where a bitmap file is read (using std.textio.all). I have managed to read the bmp file and I can write all characters to a new bmp file except 0...
Altera_Forum
Honored Contributor
11 years agoIve seen people use PPM because it is text based - the issue is most standard graphics prgrams (windows paint, picture viewer) dont support it. I switched to bitmap to allow me to double clock testbench outputs to instantly see what happened, and is then instantly available to anyone as the format is standard.
Good luck with the work ahead - bitmap has a few quirks and different headers you'll need to understand, but it's all out on the internet