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:
parent
c7c8437cf9
commit
dedc0946f2
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
|
||||
import sys
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user