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

Subversion Repositories minsoc

[/] [minsoc/] [branches/] [verilator/] [sim/] [modelsim/] [run_sim.bat] - Blame information for rev 133

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

Line No. Rev Author Line
1 72 rfajardo
@echo off
2 73 rfajardo
set /p target_firmware=Input the target firmware hex file along with its path. Ex: "..\..\sw\uart\uart-nocache.hex":
3
if EXIST %target_firmware% (
4 133 rfajardo
set firmware_size=find /c /v "NOTTHISSTRING"
5
vsim -lib minsoc minsoc_bench -pli ../../bench/verilog/vpi/jp-io-vpi.dll +file_name=%target_firmware% +firmware_size=%firmware_size%
6 73 rfajardo
) else (
7
echo %target_firmware% could not be found.
8
set /p exit=Press ENTER to close this window...
9 119 rfajardo
)

powered by: WebSVN 2.1.0

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