Tidy File I/O in mainloop
authorSam Moore <[email protected]>
Mon, 14 Apr 2014 15:20:41 +0000 (23:20 +0800)
committerSam Moore <[email protected]>
Mon, 14 Apr 2014 15:20:41 +0000 (23:20 +0800)
commite005897cffaf46cbbed14b3cc1ef74a390c93fef
treec86b8ea68cf413ea9fc2ad8d28b7dbb32425be65
parentbf561f5566c6e50af09f078b0773fd4abaff6281
Tidy File I/O in mainloop

I tried really hard to do binary file I/O but failed.

Guess how VHDL represents a file of "bits"?
As an ASCII text file of "0" or "1" (!)

So looks like ASCII string -> hex -> std_logic_vector is best we can do.
I guess what people don't know won't hurt them... much.

Fixed some mistakes, mainloop was still trying to read the comparison output, also I called the file "input_file"
and there was a variable called "input" still that was getting read -_-
src/main.vhd

UCC git Repository :: git.ucc.asn.au