diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2016-11-03 23:18:00 +0100 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2016-11-03 23:18:00 +0100 |
commit | fefe0fc0430f4f173a25e674708aa0f4f0854b31 (patch) | |
tree | adb13b830212c269d58031f900d652f29013d2d7 /kernel/celltypes.h | |
parent | 4f096fe65b77435daba019248273e547fa18d167 (diff) |
Imported yosys 0.7
Diffstat (limited to 'kernel/celltypes.h')
-rw-r--r-- | kernel/celltypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/celltypes.h b/kernel/celltypes.h index 900c12d0..f0ead1e8 100644 --- a/kernel/celltypes.h +++ b/kernel/celltypes.h @@ -118,6 +118,7 @@ struct CellTypes setup_type("$assume", {A, EN}, pool<RTLIL::IdString>(), true); setup_type("$initstate", pool<RTLIL::IdString>(), {Y}, true); setup_type("$anyconst", pool<RTLIL::IdString>(), {Y}, true); + setup_type("$anyseq", pool<RTLIL::IdString>(), {Y}, true); setup_type("$equiv", {A, B}, {Y}, true); } @@ -130,6 +131,7 @@ struct CellTypes IdString CTRL_IN = "\\CTRL_IN", CTRL_OUT = "\\CTRL_OUT"; setup_type("$sr", {SET, CLR}, {Q}); + setup_type("$ff", {D}, {Q}); setup_type("$dff", {CLK, D}, {Q}); setup_type("$dffe", {CLK, EN, D}, {Q}); setup_type("$dffsr", {CLK, SET, CLR, D}, {Q}); @@ -184,6 +186,8 @@ struct CellTypes for (auto c2 : list_np) setup_type(stringf("$_SR_%c%c_", c1, c2), {S, R}, {Q}); + setup_type("$_FF_", {D}, {Q}); + for (auto c1 : list_np) setup_type(stringf("$_DFF_%c_", c1), {C, D}, {Q}); |