OpenCores
URL https://opencores.org/ocsvn/a-z80/a-z80/trunk

Subversion Repositories a-z80

[/] [a-z80/] [trunk/] [tools/] [zmac/] [make_modelsim.bat] - Blame information for rev 3

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 gdevic
@echo off
2
Rem
3
Rem     This batch file assembles and generates executable code for a ModelSim test at
4
Rem     \cpu\toplevel\simulation\modelsim         (Select "test_top" test in ModelSim)
5
Rem
6
Rem     Give it an argument of the ASM file you want to use, or you can simply drag
7
Rem     and drop an asm file into it. If you drop an ASM file and there were errors,
8
Rem     this script will keep the DOS window open so you can see the errors.
9
Rem
10
zmac --zmac %1
11
if errorlevel 1 goto error
12
bindump.py zout\%~n1.cim ..\..\cpu\toplevel\simulation\modelsim\ram.hexdump
13
if errorlevel 1 goto error
14
goto end
15
 
16
:error
17
@echo ------------------------------------------------------
18
@echo Errors assembling %1
19
@echo ------------------------------------------------------
20
cmd
21
:end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.