REM SPDX-FileCopyrightText: 2016 MEN Mikro Elektronik GmbH
REM
REM SPDX-License-Identifier: GPL-3.0-or-later

set OLDDIR=%CD%

cd ..\..\software\tools\16t001-00_bin\Bin
chameleon_v2.exe -i=..\..\..\..\hdl\top\chameleon_V2.xls -a=wb
copy chameleon.hex ..\..\..\..\hdl\top\chameleon.hex 
copy wb_adr_dec.vhd ..\..\..\..\hdl\top\wb_adr_dec.vhd 

chdir /d %OLDDIR%


pause 1
