1
0
forked from tanchou/Verilog

Refactor project scripts for Windows and Linux: update paths and create new scripts for build, clean, simulate, and GTKWave functionalities.

This commit is contained in:
2025-05-15 09:26:34 +02:00
parent abdc824c6d
commit 3569b55925
22 changed files with 294 additions and 12 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
echo "=== Simulation avec Icarus Verilog ==="
OUT="runs/sim.vvp"
TOP="tb_ultrason_commands"
DIRS=("src/verilog" "tests/verilog" "IP/verilog")
FILES=()
for dir in "${DIRS[@]}"; do
for file in "$dir"/*.v; do
FILES+=("$file")
done
done
iverilog -g2012 -o "$OUT" -s "$TOP" "${FILES[@]}"
vvp "$OUT"