diff options
author | Jannis Harder <me@jix.one> | 2022-08-18 13:56:22 +0200 |
---|---|---|
committer | Jannis Harder <me@jix.one> | 2022-08-18 13:56:22 +0200 |
commit | 5142fb3b5c6e7ed89fe74fcdff7775d6f09c34f5 (patch) | |
tree | aaab15eb173aa79587d663e32661cf42990bd118 /tests | |
parent | 1c36f4cc2cfe8832be19c9c6be5592c6ea55df19 (diff) | |
download | yosys-5142fb3b5c6e7ed89fe74fcdff7775d6f09c34f5.tar.gz yosys-5142fb3b5c6e7ed89fe74fcdff7775d6f09c34f5.tar.bz2 yosys-5142fb3b5c6e7ed89fe74fcdff7775d6f09c34f5.zip |
write_aiger: Fix non-$_FF_ FFs
This broke while switching sby's formal flows to always use $_FF_'s.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/various/aiger_dff.ys | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/various/aiger_dff.ys b/tests/various/aiger_dff.ys new file mode 100644 index 000000000..057f3d774 --- /dev/null +++ b/tests/various/aiger_dff.ys @@ -0,0 +1,7 @@ +read_verilog -icells <<EOT +module top(input clk, d, output q); +\$_DFF_N_ dffn(.C(clk), .D(d), .Q(q)); +endmodule +EOT +write_aiger -zinit -ywmap aiger_dff.out /dev/null +!grep -qF negedge aiger_dff.out |