diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-09-06 15:47:46 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-09-06 15:47:46 +0200 |
commit | b847ec8a0bfb3b729278f1132ae2819676498ee7 (patch) | |
tree | 48f0aa1180ec19a5ba57d9d6517eab72d4ce5c2f /kernel/celltypes.h | |
parent | 76f8128123a546c06dcb4624e8c8ed4255a030c5 (diff) | |
download | yosys-b847ec8a0bfb3b729278f1132ae2819676498ee7.tar.gz yosys-b847ec8a0bfb3b729278f1132ae2819676498ee7.tar.bz2 yosys-b847ec8a0bfb3b729278f1132ae2819676498ee7.zip |
Added $macc cell type
Diffstat (limited to 'kernel/celltypes.h')
-rw-r--r-- | kernel/celltypes.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/kernel/celltypes.h b/kernel/celltypes.h index a8d88603e..74e9f1fd5 100644 --- a/kernel/celltypes.h +++ b/kernel/celltypes.h @@ -20,12 +20,9 @@ #ifndef CELLTYPES_H #define CELLTYPES_H -#include <set> -#include <string> -#include <stdlib.h> +#include <kernel/yosys.h> -#include <kernel/rtlil.h> -#include <kernel/log.h> +YOSYS_NAMESPACE_BEGIN struct CellType { @@ -96,7 +93,7 @@ struct CellTypes "$shl", "$shr", "$sshl", "$sshr", "$shift", "$shiftx", "$lt", "$le", "$eq", "$ne", "$eqx", "$nex", "$ge", "$gt", "$add", "$sub", "$mul", "$div", "$mod", "$pow", - "$logic_and", "$logic_or", "$concat" + "$logic_and", "$logic_or", "$concat", "$macc" }; for (auto type : unary_ops) @@ -361,5 +358,7 @@ struct CellTypes } }; +YOSYS_NAMESPACE_END + #endif |