1
0
forked from tanchou/Verilog

Fix path in build script and improve comments in testbench for ultrasonic commands

This commit is contained in:
Gamenight77
2025-05-16 17:06:57 +02:00
parent 933f38d071
commit 6ad0716f8f
2 changed files with 123 additions and 39 deletions

View File

@@ -2,7 +2,7 @@
setlocal
rem === Aller à la racine du projet ===
cd /d %~dp0\..
cd /d %~dp0\..\..
rem === Config de base ===
set DEVICE=GW2AR-LV18QN88C8/I7
@@ -19,7 +19,7 @@ if not exist runs (
)
echo === Étape 1 : Synthèse avec Yosys ===
yosys -p "read_verilog -sv src/verilog/%TOP%.v IP/verilog/ultrasonic_fpga.v IP/verilog/uart_tx_fifo.v IP/verilog/uart_rx_fifo.v IP/verilog/rxuartlite.v IP/verilog/fifo.v IP/verilog/uart_tx.v; synth_gowin -top %TOP% -json %JSON_FILE%"
yosys -p "read_verilog -sv src/verilog/%TOP%.v IP/verilog/ultrasonic_fpga.v IP/verilog/uart_tx_fifo.v IP/verilog/uart_rx_fifo.v IP/verilog/rxuartlite.v IP/verilog/txuartlite.v IP/verilog/fifo.v; synth_gowin -top %TOP% -json %JSON_FILE%"
if errorlevel 1 goto error
echo === Étape 2 : Placement & Routage avec nextpnr-himbaechel ===