mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Add failing test
This commit is contained in:
parent
fc727fa5c9
commit
1fdb3fc98c
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…
Reference in a new issue