OpenCores
URL https://opencores.org/ocsvn/light52/light52/trunk

Subversion Repositories light52

[/] [light52/] [trunk/] [test/] [irq_test/] [build.bat] - Blame information for rev 18

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

Line No. Rev Author Line
1 3 ja_rd
@rem build.bat -- Assemble the test source file(s) and create an VHDL package
2
@rem file with the object code for ROM initialization.
3
@rem
4
@rem This ia our assembler's path and executable name...
5
@set AS_PATH=..\..\local\tools\asem51
6
@set AS=%AS_PATH%\asem.exe
7
@set AS_OPTS=/INCLUDEs:..\include
8
@rem ...this is the path of the IHEX-to-VHDL script...
9
@set BR_PATH=..\..\tools\build_rom
10
@rem ...and this is where the object code vhdl package will be written to.
11
@set VHDL_TB_PATH=.
12
 
13
@rem Assemble the source files...
14
@for %%f in (irq_test) do %AS% src\%%f.a51 bin\%%f.hex lst\%%f.lst %AS_OPTS%
15
 
16
@rem ...and build the object code vhdl package
17
@python %BR_PATH%\src\build_rom.py ^
18
     -f bin/irq_test.hex  ^
19
     -v %BR_PATH%/templates/obj_code_pkg_template.vhdl ^
20
     -o %VHDL_TB_PATH%/obj_code_pkg.vhdl ^
21
     --name irq_test
22
 
23
 

powered by: WebSVN 2.1.0

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