mirror of
https://github.com/MiSTer-devel/InputTest_MiSTer.git
synced 2026-05-17 03:03:52 +00:00
Fixed os detection and visual studio project
This commit is contained in:
@@ -73,9 +73,8 @@
|
||||
<ClCompile Include="sim\sim_console.cpp" />
|
||||
<ClCompile Include="sim\sim_input.cpp" />
|
||||
<ClCompile Include="sim\sim_video.cpp" />
|
||||
<ClCompile Include="obj_dir\Vtop.cpp" />
|
||||
<ClCompile Include="obj_dir\Vtop__Dpi.cpp" />
|
||||
<ClCompile Include="obj_dir\Vtop__Syms.cpp" />
|
||||
<ClCompile Include="obj_dir\Vemu.cpp" />
|
||||
<ClCompile Include="obj_dir\Vemu__Syms.cpp" />
|
||||
<ClCompile Include="sim_main.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -18,13 +18,10 @@
|
||||
<ClCompile Include="sim_main.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="obj_dir\Vtop.cpp">
|
||||
<ClCompile Include="obj_dir\Vemu.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="obj_dir\Vtop__Dpi.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="obj_dir\Vtop__Syms.cpp">
|
||||
<ClCompile Include="obj_dir\Vemu__Syms.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="sim\vinc\verilated.cpp">
|
||||
@@ -63,7 +60,7 @@
|
||||
<ClCompile Include="sim\sim_bus.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="obj_dir\Vtop__Dpi.cpp">
|
||||
<ClCompile Include="obj_dir\Vemu__Dpi.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="sim\sim_clock.cpp">
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
if [[ $OSTYPE == 'darwin'* ]]; then
|
||||
exit;
|
||||
fi
|
||||
|
||||
if [[ $OSTYPE == 'linux'* ]]; then
|
||||
exit;
|
||||
fi
|
||||
|
||||
set -e
|
||||
if grep -qEi "(Microsoft|WSL)" /proc/version &> /dev/null ; then
|
||||
verilator -cc -exe --public --compiler msvc +define+SIMULATION=1 --converge-limit 2000 --top-module emu sim.v \
|
||||
../rtl/dpram.v \
|
||||
../rtl/spram.v \
|
||||
@@ -18,3 +13,8 @@ verilator -cc -exe --public --compiler msvc +define+SIMULATION=1 --converge-limi
|
||||
../rtl/tv80/tv80_reg.v \
|
||||
../rtl/tv80/tv80n.v \
|
||||
../rtl/tv80/tv80s.v
|
||||
else
|
||||
echo "not running on windows"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user