3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-15 20:10:28 +00:00

sdc: error on unknown getters

This commit is contained in:
Emil J. Tywoniak 2025-10-09 20:55:15 +02:00
parent 0aa2a4c260
commit 91ff55a50c
4 changed files with 60 additions and 7 deletions

1
tests/sdc/get_foo.sdc Normal file
View file

@ -0,0 +1 @@
get_foo -bar 1

5
tests/sdc/unknown-getter.sh Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
! ../../yosys -p 'read_verilog alu_sub.v; proc; hierarchy -auto-top; sdc get_foo.sdc' 2>&1 | grep 'Unknown getter'