mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
write_xaiger: add support and test for (* keep *) on wires
This commit is contained in:
parent
0d2c06ee47
commit
9ec948f396
2 changed files with 30 additions and 7 deletions
|
@ -38,3 +38,16 @@ abc9 -lut 4
|
|||
design -load gold
|
||||
scratchpad -copy abc9.script.flow3 abc9.script
|
||||
abc9 -lut 4
|
||||
|
||||
design -reset
|
||||
read_verilog <<EOT
|
||||
module top(input a, b, output o);
|
||||
(* keep *) wire w = a & b;
|
||||
assign o = ~w;
|
||||
endmodule
|
||||
EOT
|
||||
|
||||
simplemap
|
||||
equiv_opt -assert abc9 -lut 4
|
||||
design -load postopt
|
||||
select -assert-count 2 t:$lut
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue