URL
https://opencores.org/ocsvn/minsoc/minsoc/trunk
Subversion Repositories minsoc
Compare Revisions
- This comparison shows the changes necessary to convert path
/minsoc/branches
- from Rev 134 to Rev 133
- ↔ Reverse comparison
Rev 134 → Rev 133
/rc-1.0/sim/modelsim/run_sim.bat
1,11 → 1,7
@echo off |
set /p target_firmware=Input the target firmware hex file along with its path. Ex: "..\..\sw\uart\uart.hex": |
|
for /f "tokens=*" %%i in ('find /c /v "NOTTHISSTRING" %target_firmware%') do set line_output=%%i |
for /f "tokens=1,2 delims=:" %%a in ("%line_output%") do set firmware_size=%%b |
set firmware_size=%firmware_size: =% |
|
set /p target_firmware=Input the target firmware hex file along with its path. Ex: "..\..\sw\uart\uart-nocache.hex": |
if EXIST %target_firmware% ( |
set firmware_size=find /c /v "NOTTHISSTRING" |
vsim -lib minsoc minsoc_bench -pli ../../bench/verilog/vpi/jp-io-vpi.dll +file_name=%target_firmware% +firmware_size=%firmware_size% |
) else ( |
echo %target_firmware% could not be found. |