mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 01:24:10 +00:00
xaiger: add testcase
This commit is contained in:
parent
d64df21630
commit
33b03ce904
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…
Reference in a new issue