3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 17:15:33 +00:00

Skip some various tests and fix scopeinfo to match our convention

This commit is contained in:
Akash Levy 2024-09-23 05:39:39 -07:00
parent 138228d96e
commit db14842d9c
9 changed files with 15 additions and 4 deletions

11
tests/various/README.md Normal file
View file

@ -0,0 +1,11 @@
# Simple tests
## Disabled
- `abc9`: we do not support `abc9`
- `check`: we handle logic loops differently
- `check2`: we handle logic loops differently
- `check3`: we handle logic loops differently
- `check4`: we handle logic loops differently
- `ice40_mince_abc9`: we do not support `abc9`
- `plugin`: we do not support plugins

View file

@ -11,7 +11,7 @@ endmodule
EOT
hierarchy -top top
flatten
flatten -scopeinfo
select -assert-count 1 top/n:some_inst top/t:$scopeinfo %i
select -assert-count 1 top/n:some_inst top/r:TYPE=module %i
@ -46,7 +46,7 @@ endmodule
EOT
hierarchy -top top
flatten
flatten -scopeinfo
select -assert-count 2 top/t:$scopeinfo
select -assert-count 1 top/n:some_inst top/t:$scopeinfo %i
@ -87,11 +87,11 @@ endmodule
EOT
hierarchy -top top
flatten top
flatten -scopeinfo top
select -assert-count 1 top/t:$scopeinfo
setattr -mod -unset keep_hierarchy *
flatten
flatten -scopeinfo
select -assert-count 2 top/t:$scopeinfo
select -assert-count 1 top/n:some_inst top/t:$scopeinfo %i