feat: complete Palladium Z2 demo for both SA and ICE emulation flows
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
# run_local_ice.sh -- Verify the ICE top (stimulus FSM + DUT) without hardware.
|
||||
# Expected: sequence finishes, led_pass=1, led_gpio=0x02, "ICE LOCAL TEST PASSED".
|
||||
set -e
|
||||
cd "$(dirname "$0")/../.."
|
||||
mkdir -p ice/sim_local
|
||||
iverilog -g2005 -o ice/sim_local/z2_demo_ice.vvp \
|
||||
ice/rtl/z2_demo_top.v ice/rtl/z2_demo_ice_top.v ice/tb/tb_z2_demo_ice.v
|
||||
vvp ice/sim_local/z2_demo_ice.vvp | tee ice/sim_local/ice_run.log
|
||||
grep -q "ICE LOCAL TEST PASSED" ice/sim_local/ice_run.log \
|
||||
&& echo "== ICE LOCAL RUN: PASS ==" || { echo "== ICE LOCAL RUN: FAIL =="; exit 1; }
|
||||
Reference in New Issue
Block a user