mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-19 04:13:39 +00:00
Add failing test
This commit is contained in:
parent
fc727fa5c9
commit
1fdb3fc98c
1 changed files with 18 additions and 0 deletions
18
tests/various/hierarchy_defer.ys
Normal file
18
tests/various/hierarchy_defer.ys
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
read -vlog2k <<EOT
|
||||||
|
module first;
|
||||||
|
endmodule
|
||||||
|
|
||||||
|
(* top *)
|
||||||
|
module top(input i, output o);
|
||||||
|
sub s0(i, o);
|
||||||
|
endmodule
|
||||||
|
|
||||||
|
module sub(input i, output o);
|
||||||
|
assign o = ~i;
|
||||||
|
endmodule
|
||||||
|
EOT
|
||||||
|
|
||||||
|
hierarchy -auto-top
|
||||||
|
select -assert-any top
|
||||||
|
select -assert-any sub
|
||||||
|
select -assert-none foo
|
Loading…
Add table
Add a link
Reference in a new issue