Fixed it so it accepts DOS (CRLF) text files as input.

This commit is contained in:
d18c7db 2009-07-19 03:48:02 +00:00
parent 5e6a0b2369
commit 94f6d4a683

View file

@ -3,6 +3,8 @@
# This tool converts a Xilinx xxx.rbt FPGA bitstream to a table that will
# compile as C source code. The output format is DWORDs, MSB first.
local $/ = "\r\n";
print "// Generated by rbt2c.pl, do not edit!\n\n";
for(1..7) {