3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-03-23 04:49:15 +00:00
yosys/tests/simple/generate_mk.py
2026-03-16 13:07:11 +01:00

17 lines
360 B
Python

#!/usr/bin/env python3
import sys
sys.path.append("..")
import shutil
# ----------------------
# Check if iverilog is installed
# ----------------------
if shutil.which("iverilog") is None:
print("Error: Icarus Verilog 'iverilog' not found.", file=sys.stderr)
sys.exit(1)
import gen_tests_makefile
gen_tests_makefile.generate_autotest("*.*v", "")