summaryrefslogtreecommitdiff
path: root/kernel/celltypes.h
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2016-11-03 23:18:45 +0100
committerRuben Undheim <ruben.undheim@gmail.com>2016-11-03 23:18:45 +0100
commit1075138fe86c405f85a6ea3d7c34cf9d6a1c7b0f (patch)
tree11f9092ecfee4c0d80b589d480e1579c5a40eb8b /kernel/celltypes.h
parent2fba240fc8ec65b60c6cba2ffa022ca532a6817e (diff)
parentfefe0fc0430f4f173a25e674708aa0f4f0854b31 (diff)
Merge tag 'upstream/0.7'
Diffstat (limited to 'kernel/celltypes.h')
-rw-r--r--kernel/celltypes.h4
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});