mirror of https://github.com/YosysHQ/yosys.git
14 lines
253 B
Plaintext
14 lines
253 B
Plaintext
|
|
read_verilog <<EOT
|
||
|
|
module gold(input a, input b, output y);
|
||
|
|
assign y = a & b;
|
||
|
|
endmodule
|
||
|
|
|
||
|
|
module gate(input a, input b, output y);
|
||
|
|
assign y = a & b;
|
||
|
|
endmodule
|
||
|
|
EOT
|
||
|
|
|
||
|
|
equiv_make -nocells gold gate equiv
|
||
|
|
equiv_simple equiv
|
||
|
|
equiv_status -assert equiv
|