1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-01-23 18:47:16 +00:00

Applied patch from issue 16

This commit is contained in:
harbaum 2014-02-17 14:21:45 +00:00
parent c7c8437cf9
commit dedc0946f2
3 changed files with 8 additions and 3 deletions

View File

@ -11,7 +11,12 @@ HEX2MIF_DIR = ../../sw/hex2mif/
### programs ###
VASM = $(VASM_DIR)vasmm68k_mot
ifneq (,$(findstring Windows,$(OS)))
VASM = $(VASM_DIR)vasmm68k_mot.exe
else
VASM = $(VASM_DIR)vasmm68k_mot
endif
XXD = xxd
HEX2MEM = $(HEX2MEM_DIR)hex2mem.py
HEX2MIF = $(HEX2MIF_DIR)hex2mif.py

View File

@ -111,7 +111,7 @@ def main():
fo.write( "endmodule\n\n")
# done
print "File %s written successfully, using %dx%d memory (%d bits), will be probably inferred into %d Altera M4Ks." % (fon, idx+1, mw*4, (idx+1)*mw*4, int(math.ceil((idx+1)*mw*4/4096)))
print ("File %s written successfully, using %dx%d memory (%d bits), will be probably inferred into %d Altera M4Ks." % (fon, idx+1, mw*4, (idx+1)*mw*4, int(math.ceil((idx+1)*mw*4/4096))))
# END main

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
import sys