mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-07 14:43:23 +00:00
xaiger: add testcase
This commit is contained in:
parent
d64df21630
commit
33b03ce904
1 changed files with 13 additions and 0 deletions
13
tests/various/xaiger.ys
Normal file
13
tests/various/xaiger.ys
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
read_verilog <<EOT
|
||||||
|
module top(input a, b, output c);
|
||||||
|
bb #(1) bb();
|
||||||
|
endmodule
|
||||||
|
|
||||||
|
module bb(input a, b, output c);
|
||||||
|
parameter p = 0;
|
||||||
|
assign c = a ^ b;
|
||||||
|
endmodule
|
||||||
|
EOT
|
||||||
|
blackbox bb
|
||||||
|
hierarchy
|
||||||
|
write_xaiger /dev/null
|
Loading…
Add table
Add a link
Reference in a new issue