3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-27 07:49:50 +00:00

sdc: add -keep_hierarchy test

This commit is contained in:
Emil J. Tywoniak 2025-10-08 12:51:56 +02:00
parent 224ed524fa
commit 07de7509bf
8 changed files with 157 additions and 5 deletions

4
tests/sdc/side-effects.sh Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
../../yosys -p 'read_verilog alu_sub.v; proc; hierarchy -auto-top; sdc side-effects.sdc' | grep 'This should print something:
YOSYS_SDC_MAGIC_NODE_0'