Closed Paebbels closed 8 years ago
Oh, here is a open PR. Is this PR ok or should I improve anything?
Sorry, I forgot about this PR and haven't been monitoring the GH site. I've merged it in with a change to print 8 words per line. I haven't verified that this works in Quartus but it follows the docs on MIF.
*Implemented .mif support.**
Detailed change list:
Because '-m' is already in use for '--mem-size', so there is no short switch.
write_hex_file
into 3 variants: mem, hex, mif.Questions:
print(..)
. Should I change it?Further optimizations:
MIF files support compression. It's possible to store recurring data words in one line. This could be used to store consecutive DEFAULT_JUMP instructions in one output line.