Use 8 bit memory !! Will eat all your RAM!

Figure out a better way to load memories that doesn't immediately oom
you.
This commit is contained in:
Byron Lathi
2023-10-06 07:23:36 -07:00
parent 2084054d3d
commit a3e0ab0e1e
5 changed files with 219 additions and 212 deletions

View File

@@ -36,7 +36,7 @@ sudo umount $V $FILE
rmdir $V $TMPMOUNT
echo
# Really I want the data width to be 512 bytes long, not 16...
echo "$(tput bold setaf 11)Converting Image to Verilog$(tput sgr 0)"
objcopy --input-target=binary --output-target=verilog $FILE $FILE.hex
objcopy --input-target=binary --output-target=verilog --verilog-data-width=1 $FILE $FILE.hex
echo "$(tput bold setaf 10)Done!$(tput sgr 0)"