3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-01-23 18:44:06 +00:00

Merge pull request #5610 from nataliakokoromyti/upstream-debugon

Add debugon pass for persistent debug logging
This commit is contained in:
Emil J 2026-01-21 17:34:30 +01:00 committed by GitHub
commit 317a4d77c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 44 additions and 1 deletions

14
tests/various/debugon.ys Normal file
View file

@ -0,0 +1,14 @@
# Test debug -on/-off modes
design -reset
read_verilog <<EOT
module top(input a, input b, output y);
assign y = a & b;
endmodule
EOT
debug -on
hierarchy
select -assert-count 1 t:$and
debug -off