mirror of
https://github.com/YosysHQ/yosys
synced 2026-02-06 09:16:19 +00:00
The -nocells flag skips cell equivalence checking and only checks wire equivalence. This is useful when optimizations preserve functionality but rename or restructure cells, avoiding false negatives in equivalence checking.
13 lines
253 B
Text
13 lines
253 B
Text
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
|