URL
https://opencores.org/ocsvn/a-z80/a-z80/trunk
Subversion Repositories a-z80
[/] [a-z80/] [trunk/] [tools/] [zmac/] [make_modelsim.bat] - Rev 12
Compare with Previous | Blame | View Log
@echo offRemRem This batch file assembles and generates executable code for a ModelSim test atRem \cpu\toplevel\simulation\modelsim (Select "test_top" test in ModelSim)RemRem Give it an argument of the ASM file you want to use, or you can simply dragRem and drop an asm file into it. If you drop an ASM file and there were errors,Rem this script will keep the DOS window open so you can see the errors.Remzmac --zmac %1if errorlevel 1 goto errorpython bindump.py zout\%~n1.cim ..\..\cpu\toplevel\simulation\modelsim\ram.hexdumpif errorlevel 1 goto errorgoto end:error@echo ------------------------------------------------------@echo Errors assembling %1@echo ------------------------------------------------------cmd:end
